Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

fix(nuxt): avoid redirect for different encoding and trailing slash #4857

Merged
merged 5 commits into from
May 6, 2022

Conversation

Atinux
Copy link
Member

@Atinux Atinux commented May 6, 2022

πŸ”— Linked issue

❓ Type of change

  • 🐞 Bug fix (a non-breaking change that fixes an issue)

πŸ“š Description

Make sure to compare the two urls without trailing slash, can be refactored later on with a util in ufo to compare two urls.

@Atinux Atinux requested a review from pi0 May 6, 2022 15:31
@netlify
Copy link

netlify bot commented May 6, 2022

βœ… Deploy Preview for nuxt3-docs canceled.

Name Link
πŸ”¨ Latest commit 8caf4eb
πŸ” Latest deploy log https://app.netlify.com/sites/nuxt3-docs/deploys/627545d48605dd000888f14a

@pi0 pi0 changed the title fix(app): compare without trailing slash before redirect fix(nuxt): avoid redirect for different encoding and trailing slash May 6, 2022
@pi0 pi0 merged commit 9e5a3cd into main May 6, 2022
@pi0 pi0 deleted the fix/redirect-loop branch May 6, 2022 16:02
@pi0 pi0 mentioned this pull request May 6, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants