mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
A better fix, sorry for previous thoughtlessness commit.
This commit is contained in:
parent
d8911efbb6
commit
08d372716c
1 changed files with 1 additions and 5 deletions
|
@ -1292,11 +1292,7 @@ static void php_cli_server_request_translate_vpath(php_cli_server_request *reque
|
||||||
}
|
}
|
||||||
file++;
|
file++;
|
||||||
}
|
}
|
||||||
if (!*file) {
|
if (!*file || is_static_file) {
|
||||||
pefree(buf, 1);
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if (is_static_file) {
|
|
||||||
pefree(buf, 1);
|
pefree(buf, 1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue