You can use the HostNameValidator
to ensure that a hostname is valid. The HostNameValidator
validates configured host names by validating the hostname in the “Host” header of an incoming HTTP request. The header value is validated against a list of configured known hostnames or known host patterns. You can configure aliases of the local host, or explicitly specify hostnames or host name patterns.
RedirectURLValidator
uses the known host configuration from HostNameValidator
to avoid duplication of the configuration.
The HostNameValidator
component includes the properties described in the following table.
Property | Description |
---|---|
| If this Boolean property is set to Even when this property is set to |
|
|
|
|