E404 when having E-Mail Adress in URL
See original GitHub issueIf you directly access (like refreshing page) on DEV mode, you’ll get a 404 Error, when the url contains a correct e-mail address. Encoding the @ to %40 doesnt work as well
http://localhost:5000/Users/Anariba%40le.com <<< error 404 http://localhost:5000/Users/Anariba%40 <<< works
"devDependencies": {
"@fullhuman/postcss-purgecss": "^4.1.3",
"@roxi/routify": "^2.18.5",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.34",
"autoprefixer": "^10.4.2",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.5",
"postcss-import": "^14.0.2",
"svelte": "^3.45.0",
"svelte-preprocess": "^4.10.1",
"tailwindcss": "^3.0.23",
"vite": "^2.7.10"
},
Issue Analytics
- State:
- Created a year ago
- Comments:14 (6 by maintainers)
Top Results From Across the Web
http status code 404 - `npm login` fails with `E404`
I solved it by adding a trailing slash at the end of the registry URL, ... Password: Email: (this IS public) <user>@<company>.com Logged...
Read more >(Solved) npm ERR! code E404 while working with Power ...
Solution ; STEP 1 : run below commands to solve this issue. npm config set registry http://registry.npmjs.org ; STEP 2 : run below...
Read more >404 Page Not Found Error for Email Links - Marketing Nation
What we think the Issue is - It appears that Outlook, or something else, is changing the URL/redirect code from a mix of...
Read more >npm publish 404 Not Found - PUT · Issue #1637 - GitHub
I tried npm login and npm adduser and changing the registry url, deleting the .npmrc , making new access tokens, changing my email...
Read more >Being asked to Verify my email from *** Email address is
Hi - I have received an email from *** Email address is removed for privacy *** asking me to verify my email details...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Works - thanks
Ok so the reason it doesn’t work, and I can’t believe I missed this, is because it was in the last segment of the url. So a path like
/hey@dot.com/test
would work as the.com
segment is not the last segment of the url. I believe vite doesn’t rewrite this as it assumes you might be attempting to access a file or something like that, at any rate the plugin should solve your issue