DescriptionAdd a regexp to verify the host parameter.
If the host parameter is invalid, like having a trailing backslash, it will
result on HTTP 400 later which is much harder to diagnose.
Patch Set 1 #Patch Set 2 : Improve regexp to support port number #Patch Set 3 : Add back support for numeric IP host #Patch Set 4 : Fix support for dash" #MessagesTotal messages: 11
|