[url] don't run ValidatePath() on hostnames where the protocol has an encoded hostname. fixes #14699
Merge pull request #3671 from jmarshallnz/dont_validate_hostname

Don't run ValidatePath() on hostnames where the protocol is encoded