summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_details.php
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2012-10-21 11:05:51 -0500
committerLukas Fleischer <archlinux@cryptocrack.de>2012-10-22 12:33:11 +0200
commit5222bf09320ebc1cd5da799970fcc0d2dd32bb3f (patch)
tree2a3c1a5018e6898ef5df624b7b53f3d6b998907c /web/template/pkg_details.php
parent7e201e5a3a7e85aea89f076b89626604b6b2b7bb (diff)
downloadaurweb-5222bf09320ebc1cd5da799970fcc0d2dd32bb3f.tar.xz
Use HTTPS links everywhere for Arch sites
The main site, wiki, and BBS are using HTTPS exclusively, so link directly to the correct protocol rather than forcing a redirect. Signed-off-by: Dan McGee <dan@archlinux.org> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/pkg_details.php')
-rw-r--r--web/template/pkg_details.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php
index 74f9257..1c76557 100644
--- a/web/template/pkg_details.php
+++ b/web/template/pkg_details.php
@@ -192,7 +192,7 @@ if ($row["MaintainerUID"]):
?>
<li><a href="<?= htmlspecialchars(get_pkg_uri($darr[0]), ENT_QUOTES); ?>" title="<?= __('View packages details for').' '.$darr[0].$darr[1]?>"><?= $darr[0].$darr[1]?></a></li>
<?php else: ?>
- <li><a href="http://www.archlinux.org/packages/?q=<?= urlencode($darr[0])?>" title="<?= __('View packages details for').' '.$darr[0].$darr[1] ?>"><?= $darr[0].$darr[1] ?></a></li>
+ <li><a href="https://www.archlinux.org/packages/?q=<?= urlencode($darr[0])?>" title="<?= __('View packages details for').' '.$darr[0].$darr[1] ?>"><?= $darr[0].$darr[1] ?></a></li>
<?php endif; ?>
<?php endwhile; ?>
</ul>