From a00e5b040a42349e40a6d22cf822042ccf651be4 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 26 Aug 2011 07:47:44 +0200 Subject: Link to current page in the login bar HTTPs link This is way more convenient if you follow a HTTP link. Implements FS#25757. Signed-off-by: Lukas Fleischer --- web/template/login_form.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/template/login_form.php') diff --git a/web/template/login_form.php b/web/template/login_form.php index b351a27e..969a371e 100644 --- a/web/template/login_form.php +++ b/web/template/login_form.php @@ -31,8 +31,8 @@ elseif (!$DISABLE_HTTP_LOGIN || (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'])) else { ?> - - https://aur.archlinux.org/ + ', ''); ?> -- cgit v1.2.3-24-g4f1b From 20b20c20f2d40ad2bc1cc2e164f0b6d3c92321dd Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 5 Sep 2011 16:56:09 +0200 Subject: web/template/login_form.php: Escape the request URI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reported-by: Thomas Bächler Signed-off-by: Lukas Fleischer --- web/template/login_form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/template/login_form.php') diff --git a/web/template/login_form.php b/web/template/login_form.php index 969a371e..c27e9ba3 100644 --- a/web/template/login_form.php +++ b/web/template/login_form.php @@ -11,7 +11,7 @@ elseif (!$DISABLE_HTTP_LOGIN || (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'])) print "" . $login_error . "
\n"; } ?> -
+