Skip to content

Possible regression from Double Slash fix (#1019) #1049

Answered by ghost
kinsi55 asked this question in Q&A
Discussion options

You must be logged in to vote

Technically trailing slash is not the same URL (that's my interpretation at least): https://stackoverflow.com/questions/5948659/when-should-i-use-a-trailing-slash-in-my-url

/foo/ and /foo/?bar have segments like so:

["foo", ""]

While /foo only has ["foo"] so it's not the same URL.

You can redirect one to the other if you like

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #1049 on December 09, 2020 02:56.