[issue14132] Redirect is not working correctly in urllib2

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

[issue14132] Redirect is not working correctly in urllib2

2012-02-26 Thread Ján Janech
New submission from Ján Janech : 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 (ie. ?fs