use decoded "url" parameter instead of raw $QUERY_STRING.
authorshort <>
Thu, 2 Dec 2004 09:48:29 +0000 (09:48 +0000)
committershort <>
Thu, 2 Dec 2004 09:48:29 +0000 (09:48 +0000)
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"]);
 ?>