Message154356
| Author |
janik |
| Recipients |
janik |
| Date |
2012年02月26日.15:15:30 |
| SpamBayes Score |
0.0016249226 |
| Marked as misclassified |
No |
| Message-id |
<1330269331.97.0.613564747875.issue14132@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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=04D07295D4434730A51C95A9F1727373&fn=main). Path is then incorrectly stripped from the original url, and urllib2 redirects to http://kniznica.uniza.sk/?fs=04D07295D4434730A51C95A9F1727373&fn=main.
The error was introduced in the fix of the issue #2464. I think, the attached patch is fixing the error (it is working for me). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年02月26日 15:15:32 | janik | set | recipients:
+ janik |
| 2012年02月26日 15:15:31 | janik | set | messageid: <1330269331.97.0.613564747875.issue14132@psf.upfronthosting.co.za> |
| 2012年02月26日 15:15:31 | janik | link | issue14132 messages |
| 2012年02月26日 15:15:31 | janik | create |
|