mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +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++;
|
||||
}
|
||||
if (!*file) {
|
||||
pefree(buf, 1);
|
||||
return;
|
||||
}
|
||||
if (is_static_file) {
|
||||
if (!*file || is_static_file) {
|
||||
pefree(buf, 1);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue