utils_sanitize_ascii_domain_in_url_str


Description:


[ Version ( since = "3.44" ) ]
public string? utils_sanitize_ascii_domain_in_url_str (string? url_str)

Checks whether the host name of the url_str requires conversion to ASCII and converts it if needed.

Returns null, when no conversion was required.

Parameters:

url_str

a URL as string

Returns:

converted url_str to ASCII host name, or null, when no conversion was needed.

See: hostname_utils_requires_ascii, utils_sanitize_ascii_domain_in_url


Namespace: Camel
Package: camel-1.2