I'm parsing the links found on webpages, and I'm looking for a way to convert URLs like this:
http://www.site.com/./eng/.././disclaimer/index.htm
to the equivalent and more correct
http://www.site.com/disclaimer/index.htm
mainly for avoiding duplicates.
Thank you.