util_normalize_uri_path


Description:

[ Version ( since = "3.46" ) ]
public static Uri? util_normalize_uri_path (Uri uri)

Normalizes the path of the uri, aka encodes characters, which should be encoded, if needed.

Returns, modified URI when any change had been made to the path. It doesn't touch other parts of the uri.

Parameters:

uri

a Uri to normalize the path for

Returns:

a new Uri with modified path, or null, when no change was required.