You will probably be able to find "PathCanonicalize".
Also, with my findings, one of Uri 's overloaded constructors can handle this:
Uri combined = new Uri(
new Uri("http://www.domain.com/aaa/bbb/ccc/ddd/eee.ext", UriKind.Absolute),
"../../fff.ext"
);
The proof is in the pudding
source
share