com web/php: Variable typo: cached.php
| From: | Hannes Magnusson | 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-17194@lists.php.net to get a copy of this message | ||
Commit: e36e36e0a44110d54d82edb58bbcc1cd5cca1bcc
Author: Hannes Magnusson <bjori@mongodb.com> 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;
}