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

Hotfix/routing matches trailing slash #58

Merged
merged 3 commits into from
May 27, 2013

Conversation

Ocramius
Copy link
Member

This PR addresses following issue:

  • Configured routing URI: test
  • Typed URI: test/
  • Result: no match

This is very annoying and this hotfix is a workaround. A possible nicer solution would be to use a segment route with pattern test[/], but since the router needs a rewrite, I applied a quickfix with a test

@ghost ghost assigned bakura10 May 27, 2013
@bakura10
Copy link
Member

This problem is also encountered in ZF2. The best way to solve it would be using Apache directly. But I'm going to merge that anyway

bakura10 added a commit that referenced this pull request May 27, 2013
@bakura10 bakura10 merged commit 730ceb2 into master May 27, 2013
@bakura10 bakura10 deleted the hotfix/routing-matches-trailing-slash branch May 27, 2013 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants