use decoded "url" parameter instead of raw $QUERY_STRING.
[nethome.git] / public_html / cgi-bin / redirect.php
index ebfb30b..2aacaa7 100644 (file)
@@ -1,4 +1,4 @@
 <?php
        header("HTTP/1.0 301 Moved Permanently");
-       header("Location: ".$HTTP_SERVER_VARS["QUERY_STRING"]);
+       header("Location: ".$HTTP_GET_VARS["url"]);
 ?>