removeDotSegments
fn
string removeDotSegments(string input) @safeRemove dot-segments from a path per RFC 3986 §5.2.4.
Collapses occurrences of `.` and `..` and their path prefixes according to the remove-dot-segments algorithm.
Parameters
input | Path string to process. |
Returns
The path with dot-segments removed.