Message106049
Senthil: thx for the pointer.
I've fixed the problem on distribute side by catching any ValueError returned by urlparse (from 2.6 or 2.7 point of view).
That said, I don't think than catching more invalid URLs in Python 2.7 should be considered as a feature.
If it's a new feature then we should have an option to explicitly parse IpV6-like URLs and leave the default behavior like it was in 2.6. If not, then it should be considered as a bug fix (meaning that Python now discards more malformed URLs) and should be backported imo.
IOW, I want to discard invalid URLs the same way no matter what the Python version is, because this is not a rule defined by Python, rather by some RFCs at the URL level. |
|
Date |
User |
Action |
Args |
2010-05-19 12:00:10 | tarek | set | recipients:
+ tarek, orsenthil, r.david.murray, srid |
2010-05-19 12:00:09 | tarek | set | messageid: <1274270409.81.0.670483229688.issue8721@psf.upfronthosting.co.za> |
2010-05-19 12:00:08 | tarek | link | issue8721 messages |
2010-05-19 12:00:06 | tarek | create | |
|