Skip to content
This repository was archived by the owner on Apr 6, 2023. It is now read-only.
/frameworkPublic archive

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

Merged
pi0 merged 5 commits into
mainfrom
fix/redirect-loop
May 6, 2022
Merged

fix(nuxt): avoid redirect for different encoding and trailing slash#4857
pi0 merged 5 commits into
mainfrom
fix/redirect-loop

Conversation

@atinux

Copy link
Copy Markdown
Member

🔗 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 pi0May 6, 2022 15:31
@netlify

netlifyBot commented May 6, 2022

Copy link
Copy Markdown

Deploy Preview for nuxt3-docs canceled.

NameLink
🔨 Latest commit8caf4eb
🔍 Latest deploy loghttps://app.netlify.com/sites/nuxt3-docs/deploys/627545d48605dd000888f14a

@pi0pi0 changed the title fix(app): compare without trailing slash before redirectfix(nuxt): avoid redirect for different encoding and trailing slashMay 6, 2022
@pi0
pi0 merged commit 9e5a3cd into mainMay 6, 2022
@pi0
pi0 deleted the fix/redirect-loop branch May 6, 2022 16:02
@pi0pi0 mentioned this pull request May 6, 2022
Sign up for freeto 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.

3 participants

@atinux@pi0@danielroe