-
-
Notifications
You must be signed in to change notification settings - Fork 825
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
dev/core#985 Fix trailing slash for urls on Windows #14405
Conversation
(Standard links)
|
2a7e6ff
to
6ee26d9
Compare
ah yes & code comment says
good to merge |
@seamuslee001 why is this an rc issue though? |
@eileenmcnaughton just figured sooner the fix is in the better and its such a small change |
Thanks. Although I didn't put up a PR initially because even though the patch is correct the url is used a lot of places, and I'd want to do something like check if there's already code like rtrim($url, DIRECTORY_SEPARATOR) that might now fail. And I think at least an install on windows from scratch would be appropriate. I'm willing to test it out, but maybe against master is better, depending on when you're planning 5.14. |
switched it to master given @demeritcowboy 's concerns keep merge on pass |
Yeah - I think it didn't really 'qualify' for the rc |
test this please |
Just a followup note I've been running with it on my local with the userFrameworkResourceURL setting put back to portable and haven't noticed anything odd. Did a fresh install and looks ok. Also did a quick check for rtrim(..., DIRECTORY_SEPARATOR) and looks ok. |
OK - let's merge then - it feels safe & sensible to me too & it will hit the 5.15 rc if I merge now |
oh it IS merged |
Overview
This fixes an issue where addTrailingSlash would generate a
\
instead of a '/' on Windows for URLs which is in correctBefore
Wrong trailing slash added to urls
After
correct trailing slash added
ping @demeritcowboy @eileenmcnaughton