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(vue-app): check whether route exists within Nuxt app before replacing #9431
Conversation
Hello @danielroe @pi0 I am migrating our company's web client to Nuxt and I may have found a bug on the latest version (bug fix). I was working on Nuxt 2.15.6 and just did the upgrade to 2.15.7. It seems that on normal route navigation, all things work well! But on page reload the forward slash I can probably work around it by validating the API call everytime, but I thought I should let you know. |
@pabloalvzal Could you provide a bit more info on the situation in a new issue? |
same |
I'm experiencing a redirect loop on this update compared to the last patch release (redirecting from path ending in no slash to slash to no slash etc. until browser stops the redirect loop) but I do not have time at the moment to create a minimal reproduction. |
Also seeing the |
@mvandiest Is this replicable in |
Hi @pi0, @danielroe, I'm having trouble with routes that have defined aliases after upgrading to 2.15.7 from 2.15.6. Route example:
If I navigate to '/en/' (with anchor tag) location gets replaced to '/hr/' (only on client side). |
We are also seeing this issue with slashes being replaced on page reload or direct navigation. A few more details.
with 2.15.6 we get for |
Types of changes
Description
Fixes redirection issue introduced in #9050
Checklist: