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

Three slashes linking to external website: https://nuxtjs.org///bing.com #9992

Closed
lowbits opened this issue Oct 27, 2021 · 1 comment · Fixed by #9990
Closed

Three slashes linking to external website: https://nuxtjs.org///bing.com #9992

lowbits opened this issue Oct 27, 2021 · 1 comment · Fixed by #9990

Comments

@lowbits
Copy link

lowbits commented Oct 27, 2021

If you add an url prefixed by three backslashes to a nuxt website, nuxt redirects to the external url.

example: https://nuxtjs.org///bing.com

This issue was tested on several nuxt websites.

Versions

  • nuxt: 2.15.7
  • node: v14.17.0

Reproduction

go to: https://nuxtjs.org///bing.com

What is Expected?

Should redirect to 404 page

What is actually happening?

redirects to external url bing.com

@danielroe
Copy link
Member

Should be resolved by vuejs/vue-router#3652.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants