diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-12-13 15:28:05 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-12-13 15:28:54 +0100 |
commit | 5ebf534ba7e90ccb12007c137ecea1cfcc4876da (patch) | |
tree | 7bee294ccb46e920288990d6fe1b2f6c46c2cd6f /web/html/login.php | |
parent | aa2724bbfee4b2504a4e9d27e06037639c3bc3cc (diff) | |
download | aurweb-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/login.php')
-rw-r--r-- | web/html/login.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/login.php b/web/html/login.php index dba3af5..9818d04 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> |