Commit 3b9cb66a authored by Johannes Löthberg's avatar Johannes Löthberg Committed by Lukas Fleischer
Browse files

pkg_details: Use correct clone URL



The clone URLs should use the pkgbase name, not the pkgname itself

Reported-by: Jonathan Steel's avatarJonathan Steel <jsteel@archlinux.org>
Signed-off-by: Johannes Löthberg's avatarJohannes Löthberg <johannes@kyriasis.com>
Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <lfleischer@archlinux.org>
parent fcbfaf6a
<?php
$cgit_uri = config_get('options', 'cgit_uri');
$git_clone_uri_anon = sprintf(config_get('options', 'git_clone_uri_anon'), htmlspecialchars($row['Name']));
$git_clone_uri_priv = sprintf(config_get('options', 'git_clone_uri_priv'), htmlspecialchars($row['Name']));
$git_clone_uri_anon = sprintf(config_get('options', 'git_clone_uri_anon'), htmlspecialchars($row['BaseName']));
$git_clone_uri_priv = sprintf(config_get('options', 'git_clone_uri_priv'), htmlspecialchars($row['BaseName']));
$uid = uid_from_sid($SID);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment