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

No path should take viewers to docs about mdn.io #24

Open
adamhotep opened this issue Aug 10, 2022 · 0 comments
Open

No path should take viewers to docs about mdn.io #24

adamhotep opened this issue Aug 10, 2022 · 0 comments

Comments

@adamhotep
Copy link

I suggest pointing https://mdn.io and https://mdn.io/ to something informational about the redirector service, like https://github.com/lazd/mdn.io (at a bare minimum). This would ideally be self-served rather than redirected (e.g. a small description plus a link to this repository). That'll give alternative deployments the ability to claim authorship and responsibility rather than accidentally deferring it to you.

It also seems prudent to force local serving of any path starting with /.well-known/ (note the second slash, which removes at least some ambiguity vs searches). This lets you set up a local https://mdn.io/.well-known/security.txt for abuse contact info (see https://securitytxt.org/) and Keybase proofs. See also well-known URI.

You might also want to do something smarter about /robots.txt (for example, look for "Gecko" in the user agent string and actually serve a robots.txt file if you can't find it). This seems less important since this script gives a 303 HTTP response to every query.

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

No branches or pull requests

1 participant