Merge branch 'bug/2.7.x/11499-better-ip-address-validation-for-host-type' into 2.7.x
- bug/2.7.x/11499-better-ip-address-validation-for-host-type: (#11499) Better validation for IPv4 and IPv6 address in host type.
Closes: GH-296
I cleaned up trailing whitespace by amending the original commit.