[issue14329] proxy_bypass_macosx_sysconf does not handle singel ip addresses correctly

Serge Droz report at bugs.python.org
Thu Mar 15 23:49:14 CET 2012


New submission from Serge Droz <serge.droz at gmail.com>:

On MacOS in urllib the function proxy_bypass_macosx_sysconf does not handle proxy settings which are just IP addresses correctly:
If there is any IP address, always true is reported.

Reason: the mask is calculated wrong.
The attached patch fixes this.

NB This is also an issue in other python versions

----------
assignee: ronaldoussoren
components: Macintosh
files: urllib_macos.diff
keywords: patch
messages: 155973
nosy: Serge.Droz, ronaldoussoren
priority: normal
severity: normal
status: open
title: proxy_bypass_macosx_sysconf does not handle singel ip addresses correctly
versions: Python 2.6
Added file: http://bugs.python.org/file24880/urllib_macos.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14329>
_______________________________________


More information about the Python-bugs-list mailing list