[issue4191] urlparse normalize URL path

2008-10-24 Thread monk.e.boy
New submission from monk.e.boy <[EMAIL PROTECTED]>: Hi, The way urljoin works is a bit funky, equivalent paths do not get cleaned in a consistent way: import urlparse import posixpath print urlparse.urljoin('http://www.example.com', '///') print urlparse.urljo

[issue2583] urlparse normalize URL path

2008-04-08 Thread monk.e.boy
New submission from monk.e.boy <[EMAIL PROTECTED]>: Hi, This is my first problem with anything Python :-) and my first issue. Doing in the following: urlparse.urljoin( 'http://site.com/', '../../../../path/' ) 'http://site.com/../../../../path/'