libwww-perl / URI

The Perl URI module
https://metacpan.org/pod/URI
Other
57 stars 48 forks source link

Should URI strip some control characters? #61

Open oalders opened 5 years ago

oalders commented 5 years ago

Looking at https://url.spec.whatwg.org/ it says that a URL parser should "Remove any leading and trailing C0 control or space from input." We are currently stripping leading and trailing \s, but that's it. Should we be stripping out control characters as well?