From e36e36e0a44110d54d82edb58bbcc1cd5cca1bcc Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Fri, 22 Nov 2013 00:50:14 -0800 Subject: [PATCH] Variable typo --- cached.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cached.php b/cached.php index 3d6305b92..e94a196de 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; }