[issue2776] urllib2.urlopen() gets confused with path with // in it

2008-06-21 Thread Adrianna Pinska
Adrianna Pinska <[EMAIL PROTECTED]> added the comment: I have written a test to go with my patch. Added file: http://bugs.python.org/file10685/doubleslash_test.patch ___ Python tracker <[EMAIL PROTECTED]> <http://bugs.pytho

[issue2776] urllib2.urlopen() gets confused with path with // in it

2008-05-10 Thread Adrianna Pinska
Adrianna Pinska <[EMAIL PROTECTED]> added the comment: Ordinarily, request.get_selector() returns the portion of the url after the host, and sel_host is None. However, if a proxy is set on the request, the request's host is set to the proxy host, get_selector() returns the origin