You are viewing a plain text version of this content. The canonical link for it is here.
Posted to httpclient-users@hc.apache.org by bo...@redwerk.com on 2006/07/05 19:52:56 UTC
normalizing URI's
Sorry for asking so many questions, but i need some help.
For example, let's say there is URI:
http://somesite.com/dir1/dir2/dir3/../index.html
This URL will be
http://somesite.com/dir1/dir2/index.html
In another case
http://somesite.com/dir1/dir2/dir3/../../../../../index.html
there are more level-ups than actually exists. In this case URI should be
http://somesite.com/index.html
I did custom class which performs "normalization", but I'm really wandering
may be there is some way to do that with HttpClient library?
---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: httpclient-user-help@jakarta.apache.org