|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-05-18 18:04 UTC] reeze dot xia at gmail dot com
[2012-05-19 03:50 UTC] laruence@php.net
-Status: Open
+Status: Not a bug
[2012-05-19 03:50 UTC] laruence@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 00:00:01 2025 UTC |
Description: ------------ When accessing url like :http://localhost/first/second/third/path Built-in web server will try to find default index files:index.php/html, 1. if the index file didn't exist 2. it will try to look it reversely: 3. try look it in third and second and first if any dir have a index.php or index.html, it will be considered as found index file. this is the wrong behavior. if path is a dir, if index.php/html not found it should be 404. Test script: --------------- NONE Expected result: ---------------- index.php in web root without router /not/found/path should be 404 Actual result: -------------- HTTP 200