Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert 1606 to allow routing of /index.php/foo again #1643

Merged
merged 1 commit into from
Dec 4, 2015
Merged

Revert 1606 to allow routing of /index.php/foo again #1643

merged 1 commit into from
Dec 4, 2015

Conversation

akrabat
Copy link
Member

@akrabat akrabat commented Dec 3, 2015

PR #1606 changed the way that the Uri's baseUrl was detected in order to fix #1590. However, this change meant that routing of URLs of the form /foo/index.php/bar/baz no longer worked.

This commit reverts #1606 so that routing works again as the stripping off of the script name when using rewriting could be done at the web server configuration level, or via a route the redirects to the one without the script name in it.

Fixes #1639.

PR #1606 changed the way that the Uri's baseUrl was detected in order to
fix #1590. However, this change meant that routing of URLs of the form
/foo/index.php/bar/baz no longer worked.

This commit reverts #1606 so that routing works again as the stripping
off of the script name  when using rewriting could be done at the web
server configuration level, or via a route the redirects to the one
without the script name in it.
codeguy added a commit that referenced this pull request Dec 4, 2015
Revert 1606 to allow routing of /index.php/foo again
@codeguy codeguy merged commit 8d6c635 into slimphp:3.x Dec 4, 2015
@akrabat akrabat added the Slim 3 label Dec 4, 2015
@akrabat akrabat added this to the 3.0.0 milestone Dec 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants