shared/helpers/url_normalizer library
RFC 3986 compliant URL normalization utilities.
This library provides functions for normalizing URLs according to RFC 3986, including case normalization, percent-encoding normalization, and path segment normalization.
Functions
-
normalizePercentEncoding(
String input) → String - RFC 3986 Section 6.2.2.2: Percent-Encoding Normalization
-
removeDotSegments(
String path) → String - RFC 3986 Section 5.2.4: Remove Dot Segments