DigitalTrustCenter / sectxt

security.txt parser and validator
European Union Public License 1.2
17 stars 6 forks source link

`invalid_cert` error listed twice #39

Closed SanderKools-Ordina closed 1 year ago

SanderKools-Ordina commented 1 year ago

Some domains seem to have the invalid_cert error listed twice. These domains also have the location error and the no_expire error. the error message is the exact same, so only list it once.

DigitalTrustCenter commented 1 year ago

Thank you for reporting this issue. The invalid_cert error is checked for both the /.well-known/ location as the old location which would give an additional error. If both these locations have an invalid cert it would report it twice. It also checks both https and http scheme's meaning it could potentially be reported 4 times.

Solved in version 0.8.1 If it is reported already the error is not added again.