mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed PATH_INFO of /index.php/foo/bar
This commit is contained in:
parent
8747d2245d
commit
d8911efbb6
1 changed files with 5 additions and 4 deletions
|
@ -1296,12 +1296,13 @@ static void php_cli_server_request_translate_vpath(php_cli_server_request *reque
|
|||
pefree(buf, 1);
|
||||
return;
|
||||
}
|
||||
}
|
||||
break; /* regular file */
|
||||
} else if (is_static_file) {
|
||||
if (is_static_file) {
|
||||
pefree(buf, 1);
|
||||
return;
|
||||
}
|
||||
}
|
||||
break; /* regular file */
|
||||
}
|
||||
if (prev_patch) {
|
||||
pefree(prev_patch, 1);
|
||||
*q = DEFAULT_SLASH;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue