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

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

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