Skip to content
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

fix: Compare also decoded Url with a route #1816

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

szwenni
Copy link
Contributor

@szwenni szwenni commented Jan 24, 2023

πŸ”— Linked issue

#1792

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

This adds an additional check for the route to check if a redirect is needed Before a encoded url part like an 'Γ€' or a whitespace would have created a endless loop.
This fixes #1792

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

This adds an additional check for the route to check if a redirect is needed.
Before a encoded url part like an 'Γ€' or a whitespace would have created a endless loop.
Copy link
Collaborator

@kazupon kazupon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to contribution!
Look good for me!
Thank you so much!

@kazupon kazupon merged commit 920a4fe into nuxt-modules:next Jan 24, 2023
DarthGigi pushed a commit to DarthGigi/i18n that referenced this pull request Apr 16, 2024
This adds an additional check for the route to check if a redirect is needed.
Before a encoded url part like an 'Γ€' or a whitespace would have created a endless loop.

Co-authored-by: Sven KrΓΆger <[email protected]>
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.

URL encoded characters when use 'prefix_and_default'
2 participants