Commit:    e36e36e0a44110d54d82edb58bbcc1cd5cca1bcc
Author:    Hannes Magnusson <[email protected]>         Fri, 22 Nov 2013 
00:50:14 -0800
Parents:   c7cdf751580bbb796e6772b58cefc4334690d64a
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=e36e36e0a44110d54d82edb58bbcc1cd5cca1bcc

Log:
Variable typo

Changed paths:
  M  cached.php


Diff:
diff --git a/cached.php b/cached.php
index 3d6305b..e94a196 100644
--- a/cached.php
+++ b/cached.php
@@ -11,7 +11,7 @@ $abs = $pwd. "/" .(string)$_GET["f"];
 $abs = realpath($abs);
 
 if (strncmp($abs, $pwd, strlen($pwd)) != 0) {
-    header("Location: http://php.net/$abs";);
+    header("Location: http://php.net/"; . $_GET["f"]);
     exit;
 }


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to