question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

E404 when having E-Mail Adress in URL

See original GitHub issue

If 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:closed
  • Created a year ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
Kapsonfire-DEcommented, Mar 31, 2022

Works - thanks

0reactions
ghostdevvcommented, Mar 31, 2022

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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found