These two URLs should be valid, but validators doesn't like the double hyphen `--` and it doesn't like the domain name `xn--p1ai` neither. ``` >>> validators.url("http://pharma--partners.com/bfayz/shit.exe") ValidationFailure(func=url, args={'public': False, 'value': 'http://pharma--partners.com/bfayz/shit.exe'}) >>> validators.url("http://xn--k1acdflk8dk.xn--p1ai/daa4wb/") ValidationFailure(func=url, args={'public': False, 'value': 'http://xn--k1acdflk8dk.xn--p1ai/daa4wb/'}) ```
Activity
restran commentedon Jul 14, 2018
Same problem with this url
maint: improves `url` module