Message153524
| Author |
zulla |
| Recipients |
r.david.murray, zulla |
| Date |
2012年02月17日.01:47:02 |
| SpamBayes Score |
2.0152556e-06 |
| Marked as misclassified |
No |
| Message-id |
<1329443223.62.0.551945864627.issue14036@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Hi. No, it's a patched version. It won't crash under circumstances like that [1] and won't succeed with invalid input:
>>> import urlparse
>>> urlparse.urlparse("http://www.google.com:foo")
ParseResult(scheme='http', netloc='www.google.com:foo', path='', params='', query='', fragment='')
>>> urlparse.urlparse("http://www.google.com:foo").port
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urlparse.py", line 105, in port
port = int(netloc.split(':')[1], 10)
ValueError: invalid literal for int() with base 10: 'foo'
>>> |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年02月17日 01:47:03 | zulla | set | recipients:
+ zulla, r.david.murray |
| 2012年02月17日 01:47:03 | zulla | set | messageid: <1329443223.62.0.551945864627.issue14036@psf.upfronthosting.co.za> |
| 2012年02月17日 01:47:03 | zulla | link | issue14036 messages |
| 2012年02月17日 01:47:02 | zulla | create |
|