From 630f1cbae8473fb05e5f5af7244eccc60fe93812 Mon Sep 17 00:00:00 2001
From: Lukas Fleischer
Date: Sun, 4 Nov 2012 19:13:03 +0100
Subject: Avoid use of "$_SERVER['REQUEST_URI']"
Use the routing library to build proper URIs instead of relying on the
"REQUEST_URI" server variable which can be manipulated and might return
bogus URIs.
Signed-off-by: Lukas Fleischer
---
web/html/login.php | 4 ++--
web/template/pkg_comment_form.php | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/web/html/login.php b/web/html/login.php
index d5bb1e7..9b3715b 100644
--- a/web/html/login.php
+++ b/web/html/login.php
@@ -20,7 +20,7 @@ html_header('AUR ' . __("Login"));
[= __("Logout"); ?>]
-