mirror of
https://github.com/python/cpython.git
synced 2025-08-15 22:30:42 +00:00
Issue #11500: Fixed a bug in the os x proxy bypass code for fully qualified
IP addresses in the proxy exception list.
This commit is contained in:
parent
19199830f7
commit
1aa999c49e
2 changed files with 4 additions and 1 deletions
|
@ -1396,7 +1396,7 @@ if sys.platform == 'darwin':
|
|||
|
||||
else:
|
||||
mask = int(mask[1:])
|
||||
mask = 32 - mask
|
||||
mask = 32 - mask
|
||||
|
||||
if (hostIP >> mask) == (base >> mask):
|
||||
return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue