eikendev / sectxt

A library & tool for probing, parsing, and validating security.txt files as specified in RFC 9116 :rocket::books:
https://crates.io/crates/sectxt
ISC License
13 stars 1 forks source link

Consider case when file in .well-known path is invalid #6

Closed eikendev closed 1 year ago

eikendev commented 1 year ago

If a "security.txt" file is present in both locations, the one in the "/.well-known/" path MUST be used.

eikendev commented 1 year ago

Closed in ed1afa9a5506388ec4d05acc346067abcbb08ce3.

Code is ugly for now, but attempts to make it more functional consumed too much time.