mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
aa2724bbfe
commit
5ebf534ba7
6 changed files with 26 additions and 20 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue