-
-
Notifications
You must be signed in to change notification settings - Fork 312
Trailing Slashes not working #12
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
Comments
Are you sure this happens? The setPath method not only stores the path, but also the file.
but this url: http://domain.com/path1/path2
So, on generate the url again, the trailing slash should be respected |
Yep, the explode - and re implode takes it away. I had a quick peek in Xdebug. |
Ok, I've made some changes. Can you confirm that it's working now? |
Working in my test case ;) Thanks! |
Thank you for the feedback |
http://www.domain.com/path/ gets internally resolved to http://www.domain.com/path.
Now, if the server is configured for SEO / DC reasons to generate a 404 response / doc if that trailing slash is missing, Houston has a problem.
one solution would be :
and in buildUrl()
The text was updated successfully, but these errors were encountered: