com web/php: Variable typo: cached.php

From: Date: Fri, 22 Nov 2013 08:50:14 +0000
Subject: com web/php: Variable typo: cached.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-22456@lists.php.net to get a copy of this message
Commit: 1e82c8ba2db4a1a011b4c810005812044ef706c7 Author: Hannes Magnusson <bjori@mongodb.com> 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; }

« previous php.webmaster (#22456) next »