Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix bug #74205 PATH_INFO only partial support #2403
I tried but failed to find why this "dot" breaks redirection, so I propose to clean it.
As this may introduce a behavior change, I only propose this for 7.2
Open for discussion.
A mnimal fix, allowing dot not in final part is
After a bit more thinking on this, and lot of try I think we cannot have a safe way to known if you should redirect or not.
Another exampple /foo/index.php/bar ?
So, here is another proposal (which should be very simple)
This new option is designed to be a real equiv to Apache rules:
See the new test for this change.
@nikic not exactly, a possible router script will be (a bit ugly)
BTW, the reason why I try to fix reported bug is that documentation states:
Which only works if no dot in called URI.
The wording "URI request does not specify a file" is a bit confusing...