You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fixed bug #62060 (Built-in web server mismatch index files) - #84
Start web server without router
when accessing url like localhost/exists-dir/no-such-dir will be 200 if there is a index file in web root or in exists-dir,It should be 404.
Start web server without router
when accessing url like localhost/exists-dir/no-such-dir will be 200 if there is a index file in web root or in exists-dir,It should be 404.
Fixed bug #62060 (Built-in web server mismatch index files)
-- File Changes --
M sapi/cli/php_cli_server.c (18)
M sapi/cli/tests/php_cli_server_009.phpt (35)
M sapi/cli/tests/php_cli_server_010.phpt (12)
A sapi/cli/tests/php_cli_server_018.phpt (121)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See: https://bugs.php.net/bug.php?id=62060
Start web server without router
when accessing url like localhost/exists-dir/no-such-dir will be 200 if there is a index file in web root or in exists-dir,It should be 404.
@laruence will you take look please.
Thanks.