Skip to content

Conversation

conwnet
Copy link

@conwnet conwnet commented Jan 23, 2021

serve-handler will trim the ending .html suffix from url.pathname and make a redirect but forgot take the search, it may cause errors sometimes.

@pguilbert
Copy link

I have just encountered an issue related to this PR. All the query parameters are lost after the redirection:

For exemple: /test.html?var=123 is redirected to /test.

Can this be merged ?

@marcospassos
Copy link

Same issue

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.

3 participants