[issue14132] Redirect is not working correctly in urllib2

2020-01-03 Thread Ned Deily
Change by Ned Deily : -- components: +Library (Lib) -XML type: performance -> behavior ___ Python tracker ___ ___ Python-bugs-list

[issue14132] Redirect is not working correctly in urllib2

2020-01-03 Thread Ned Deily
Change by Ned Deily : -- Removed message: https://bugs.python.org/msg359255 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue14132] Redirect is not working correctly in urllib2

2020-01-03 Thread Senthil Kumaran
Change by Senthil Kumaran : -- nosy: -Joony898i title: SEO Services Development & PHP development -> Redirect is not working correctly in urllib2 ___ Python tracker ___

[issue14132] Redirect is not working correctly in urllib2

2016-05-16 Thread Martin Panter
Changes by Martin Panter : -- resolution: -> fixed stage: commit review -> resolved status: open -> closed ___ Python tracker ___

[issue14132] Redirect is not working correctly in urllib2

2016-05-16 Thread Roundup Robot
Roundup Robot added the comment: New changeset 52a7f580580c by Martin Panter in branch '3.5': Issue #14132: Fix redirect handling when target is just a query string https://hg.python.org/cpython/rev/52a7f580580c New changeset 789a3f87bde1 by Martin Panter in branch '2.7': Issue #14132: Fix

[issue14132] Redirect is not working correctly in urllib2

2016-05-14 Thread Martin Panter
Martin Panter added the comment: I will try to commit this soon -- stage: patch review -> commit review versions: -Python 3.4 ___ Python tracker ___

[issue14132] Redirect is not working correctly in urllib2

2015-05-25 Thread Martin Panter
Martin Panter added the comment: urllib2_redirect_fix.2.patch adds a test. I was tempted to remove the whole block of code setting the path to “/”, but there is one minor disadvantage: if a redirect points to a so-called “malformed” URL without any path component, like “http://example.net” or

[issue14132] Redirect is not working correctly in urllib2

2015-05-22 Thread Martin Panter
Martin Panter added the comment: The proposed patch looks good to me. A test case would be nice though. Also I wonder why the “malformed URL” logic needs to be in urllib.request. Surely it either belongs in urljoin(), or in the underlying http.client. That needs more thought, but either way

[issue14132] Redirect is not working correctly in urllib2

2013-03-05 Thread karl
karl added the comment: → curl -sI http://kniznica.uniza.sk/opac HTTP/1.1 302 Moved Temporarily Date: Wed, 06 Mar 2013 03:23:06 GMT Server: Indy/9.0.50 Content-Type: text/html Location: ?fs=C79F09C9F1304E7AA4FF7C211BEA2B9Bfn=main → python3.3 Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012,

[issue14132] Redirect is not working correctly in urllib2

2012-02-26 Thread Ján Janech
New submission from Ján Janech jan...@kios.sk: When only the query string is sent by the server as the redirect url, urllib2 redirects to incorrect address. Error is occuring on the page http://kniznica.uniza.sk/opac. Server sends only the query string part of the uri in the Location header

[issue14132] Redirect is not working correctly in urllib2

2012-02-26 Thread Ján Janech
Ján Janech jan...@kios.sk added the comment: I forgot to mention that the correct url in the example would be http://kniznica.uniza.sk/opac?fs=04D07295D4434730A51C95A9F1727373fn=main. -- ___ Python tracker rep...@bugs.python.org

[issue14132] Redirect is not working correctly in urllib2

2012-02-26 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- nosy: +ezio.melotti, facundobatista, gregory.p.smith, orsenthil ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14132 ___