[issue2583] urlparse normalize URL path

2008-05-20 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Not a bug... -- nosy: +facundobatista resolution: -> invalid status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ __

[issue2583] urlparse normalize URL path

2008-05-15 Thread Senthil
Senthil <[EMAIL PROTECTED]> added the comment: Btw, Thank you for the exciting report monk.e.boy. :-) There are many hidden in urlparse,urllib*. I hope you will have fun time finding them (and fixing them too :) And one general comment. If the bug is valid, Python official Documentation cannot b

[issue2583] urlparse normalize URL path

2008-05-15 Thread Senthil
Senthil <[EMAIL PROTECTED]> added the comment: Just try it this way. >>> print urlparse.urljoin('http://site.com/', 'path/../path/.././path/./') http://site.com/path/ >>> The difference is the inital '/' in the second argument. Human interpretation is: Go to http://site.com/ and 1) go to path di

[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/' urlparse.urljoin( 'http://site.com/',