Message106933
I have straight IP in my proxy exception list like "192.168.0.2" without mask specification.
The proxy_bypass_macosx_sysconf function verifies each item in this list by regexp r"(\d+(?:\.\d+)*)(/\d+)?" that produces two groups: IP and mask. The mask can be None here (as in my case) and this None case isn't handled, so urllib crashes with "TypeError: 'NoneType' object is unsubscriptable".
I couldn't find specification of MacOS proxy exceptions list, so I don't know whether you can use just IP or prefix without mask specification. If you can, here is small patch that adds nesessary check and guesses mask if it is not specified. If you cannot, the last question mark should be removed from regex. |
|
Date |
User |
Action |
Args |
2010-06-03 07:31:49 | yorik.sar | set | recipients:
+ yorik.sar |
2010-06-03 07:31:49 | yorik.sar | set | messageid: <1275550309.78.0.672707816894.issue8883@psf.upfronthosting.co.za> |
2010-06-03 07:31:48 | yorik.sar | link | issue8883 messages |
2010-06-03 07:31:47 | yorik.sar | create | |
|