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

a legacy security.txt can be easily be clearer #1084

Closed
janwillemstegink opened this issue Sep 30, 2023 · 3 comments
Closed

a legacy security.txt can be easily be clearer #1084

janwillemstegink opened this issue Sep 30, 2023 · 3 comments
Labels
discuss Requires further team discussion and decisions

Comments

@janwillemstegink
Copy link

janwillemstegink commented Sep 30, 2023

Internet.nl could show test results such as:

Information for legacy does not exist
Only information for legacy exists
The information for legacy is identical
The information for legacy is not identical

Note: It could contain previous confidential information.

Not just for compatibility, but also practical.
For the programmer: An identical url may be an easy way to compare content.

@bwbroersma
Copy link
Collaborator

RFC 9116 states:

3. Location of the security.txt File

For web-based services, organizations MUST place the "security.txt" file under the "/.well-known/" path, e.g., https://example.com/.well-known/security.txt as per [RFC8615] of a domain name or IP address. For legacy compatibility, a "security.txt" file might be placed at the top-level path or redirect (as per Section 6.4 of [RFC7231]) to the "security.txt" file under the "/.well-known/" path. If a "security.txt" file is present in both locations, the one in the "/.well-known/" path MUST be used.

So the legacy location MUST be ignored it's also found in "/.well-known/", therefore I don't think we should do compares (also quite complex, the content could also be 'the same' but ordered differently).
I would tend to agree a legacy location could give an ℹ️ informational.

@bwbroersma bwbroersma added the discuss Requires further team discussion and decisions label Jan 9, 2024
@janwillemstegink
Copy link
Author

janwillemstegink commented Aug 17, 2024

@bwbroersma
Copy link
Collaborator

@bwbroersma bwbroersma closed this as not planned Won't fix, can't repro, duplicate, stale Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discuss Requires further team discussion and decisions
Development

No branches or pull requests

2 participants