Earlier quoted context omitted.
Is been an RFC for almost a decade, RFC5785 [0]. Mattias Geniar has a good write up on it [1]. [0] https://tools.ietf.org/html/rfc5785 [1] https://ma.ttias.be/well-known-directory-webservers-aka-rfc-...
Neither seems to explain why these files aren't just placed in root, like robots.txt. What's the point of having a subpath? The RFC says: > 2. Why /.well-known? It's short, descriptive, and according to search indices, not widely used. This gives reasoning for the name of the subpath, but not its existence.
Security.txt (2017)
51–56 of 56 posts
Re: Security.txt (2017)
#52Earlier quoted context omitted.
Neither seems to explain why these files aren't just placed in root, like robots.txt. What's the point of having a subpath? The RFC says: > 2. Why /.well-known? It's short, descriptive, and according to search indices, not widely used. This gives reasoning for the name of the subpath, but not its existence.
To minimize collisions, and so we're not retreading this argument in another ten years: https://news.ycombinator.com/item?id=19063727
This would also answer the question I've had for so long as to why Wikipedia chose to have /wiki/ before article titles in their URLs. I guess it was so that the article https://en.wikipedia.org/wiki/robots.txt did not collide with their robots.txt file.
Would've been nice if that explanation were included in the RFC.
Re: Security.txt (2017)
#53webmaster@domain.com No need to overcomplicate this. .well-known is a terrible idea by the way, a or would make much more sense.
Re: Security.txt (2017)
#54webmaster@domain.com No need to overcomplicate this. .well-known is a terrible idea by the way, a or would make much more sense.
not everything HTTP serves HTML
HTTP/1.1 200 OK
Content-Length: 153054
Content-Type: image/webp
Link: ;
rel="next"; title="next image in album"
See https://tools.ietf.org/html/rfc8288Re: Security.txt (2017)
#55Re: Security.txt (2017)
#56And the discussion from Troy Hunt... https://twitter.com/troyhunt/status/1082890150223302657
I count 6460 sites on the linked list, and loads of these are subdomains on tumblr.org, so I wonder what the number of actual TLDs using security.txt is...