summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-12-13 15:28:05 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2014-12-13 15:28:54 +0100
commit5ebf534ba7e90ccb12007c137ecea1cfcc4876da (patch)
tree7bee294ccb46e920288990d6fe1b2f6c46c2cd6f /web/html
parentaa2724bbfee4b2504a4e9d27e06037639c3bc3cc (diff)
downloadaur-5ebf534ba7e90ccb12007c137ecea1cfcc4876da.tar.gz
aur-5ebf534ba7e90ccb12007c137ecea1cfcc4876da.tar.xz
Avoid double slashes in notification email body
Refactor some of the URI generation code to avoid double slashes in absolute URIs. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html')
-rw-r--r--web/html/login.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/login.php b/web/html/login.php
index dba3af53..9818d04e 100644
--- a/web/html/login.php
+++ b/web/html/login.php
@@ -48,7 +48,7 @@ html_header('AUR ' . __("Login"));
<?php else: ?>
<p>
<?php printf(__("HTTP login is disabled. Please %sswitch to HTTPs%s if you want to login."),
- '<a href="' . aur_location() . get_uri('/login') . '">', '</a>'); ?>
+ '<a href="' . get_uri('/login', true) . '">', '</a>'); ?>
</p>
<?php endif; ?>
</div>