Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
URLs with a trailing slash result in a 404 #608
Issue #66 is back
It responds to
The Lumen doesn't use the same route component of Laravel. So it doesn't fix the URL as done somewhere else.
That's OK. See why:
With trailing slash, conventionally a directory:
Without trailing slash, conventionally a file:
Your own browser tend to fix that. Check it out by making one XHR with trailing slash at end. There'll be fixed to be without that.
Sure, but browsers are not the only client we need to support. Lumen in particular is often used to build APIs where the client might not be an API.
Anyway. Looks like @Except10n has fixed it.. thanks!