w3c / i18n-checker

W3C's i18n checker
https://validator.w3.org/i18n-checker/
Other
35 stars 17 forks source link

validate input, take care of protocol-less URIs #76

Closed ylafon closed 6 years ago

xfq commented 6 years ago

Perhaps related: https://github.com/w3c/markup-validator/issues/27

ylafon commented 6 years ago

Issue is that filter_var will see the protocol-less URI as invalid, so we need to make a choice on behalf of the user. Trying both http and https can be an issue if sites are not the same (less and less the case, but...)

tripu commented 6 years ago

Ah, I understand, @ylafon.