From 2ca2400b779484ff025b0705ff4fb84ead7c4b20 Mon Sep 17 00:00:00 2001 From: Angelo Cuccato Date: Tue, 31 Aug 2010 21:16:16 +0200 Subject: clean url handling --- www-ssl/nonpublic/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www-ssl/nonpublic/index.php') diff --git a/www-ssl/nonpublic/index.php b/www-ssl/nonpublic/index.php index de833eb4..affb571e 100755 --- a/www-ssl/nonpublic/index.php +++ b/www-ssl/nonpublic/index.php @@ -11,7 +11,7 @@ function LoginOK() { include ("../../includes/config.php"); header("HTTP/1.1 302 Moved Temporarily"); - header("Location: ". substr($url, 0, strlen($url)-1). $ENGEL_ROOT. "nonpublic/news.php"); + header("Location: ". $url. $ENGEL_ROOT. "nonpublic/news.php"); } if ( !IsSet($_POST["user"])) -- cgit v1.3.1