mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
Enhancement: Enable and configure concat_space fixer
Closes GH-657.
This commit is contained in:
@@ -18,7 +18,7 @@ if (!isset($_GET["f"])) {
|
||||
exit;
|
||||
}
|
||||
$pwd = realpath($_SERVER["DOCUMENT_ROOT"]);
|
||||
$abs = $pwd. "/" .(string)$_GET["f"];
|
||||
$abs = $pwd . "/" . (string)$_GET["f"];
|
||||
$abs = realpath($abs);
|
||||
|
||||
if (strncmp($abs, $pwd, strlen($pwd)) != 0) {
|
||||
|
||||
Reference in New Issue
Block a user