This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author orsenthil
Recipients gregory.p.smith, orsenthil, weijie90
Date 2008-05-16.03:07:48
SpamBayes Score 0.2728977
Marked as misclassified No
Message-id <1210907286.95.0.736706304722.issue2464@psf.upfronthosting.co.za>
In-reply-to
Content
The issue is not just with null character. If you observe now the
diretion is 302-302-200 and there is no null character.
However, still urllib2 is unable to handle multiple redirection properly
(IIRC, there is a portion of code to handle multiple redirection and
exit on infinite loop)
>>> url = "http://www.wikispaces.com"
>>> opened = urllib.urlopen(url)
>>> print opened.geturl()
http://www.wikispaces.com?responseToken=344289da354a29c67d48928dbe72042a
>>> print opened.read()
<html>
<head><title>400 Bad Request</title></head>
<body bgcolor="white">
<center><h1>400 Bad Request</h1></center>
<hr><center>nginx/0.6.30</center>
</body>
</html>

Needs a relook, IMO.
History
Date User Action Args
2008-05-16 03:08:07orsenthilsetspambayes_score: 0.272898 -> 0.2728977
recipients: + orsenthil, gregory.p.smith, weijie90
2008-05-16 03:08:07orsenthilsetspambayes_score: 0.272898 -> 0.272898
messageid: <1210907286.95.0.736706304722.issue2464@psf.upfronthosting.co.za>
2008-05-16 03:07:49orsenthillinkissue2464 messages
2008-05-16 03:07:48orsenthilcreate