mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Variable typo
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user