Re:In search of the perfect URL validation regex
by zAy0LfpBZLC8mAC on Sunday June 22, 2014 @10:18PM
(#7929883)
None of those is a URI, so a URI validator most certainly should not accept them. Just because browsers tend to understand them as a matter of a historical accident does not mean those are valid URIs, just as tag soup that browsers also tend to understand isn't valid HTML either.
[ Parent
| on HN ]