You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just noticed a security.txt Canonical-field without an URI scheme (just www.), the error kind of hints on a mailto: scheme. This kind of confused me, because Canonical should only start with https://, right?
We agree that the error message is confusion in situations other than maybe for the contact field. Our solution will be to remove the example in the error message. So the error message would become Field value must be a valid URI. We will implement this change with a new release when we make one. Will leave the issue open for now.
Just noticed a security.txt Canonical-field without an URI scheme (just www.), the error kind of hints on a
mailto:
scheme. This kind of confused me, becauseCanonical
should only start withhttps://
, right?See:
sectxt/sectxt/__init__.py
Lines 53 to 61 in 79bb386
and:
sectxt/sectxt/__init__.py
Lines 197 to 205 in 79bb386
The text was updated successfully, but these errors were encountered: