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

return a simple 404 error message (instead of text injection) #90

Open
mfb opened this issue Jan 25, 2017 · 0 comments
Open

return a simple 404 error message (instead of text injection) #90

mfb opened this issue Jan 25, 2017 · 0 comments

Comments

@mfb
Copy link
Contributor

mfb commented Jan 25, 2017

Best practice is to not echo the request URL in the 404 response (also known as text injection)

We could instead return a simple 404 error message

https://expressjs.com/en/starter/faq.html#how-do-i-handle-404-responses

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

No branches or pull requests

1 participant