homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: urllib does not use no_proxy when it has blanks
Type: Stage: resolved
Components: Library (Lib) Versions: Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: jimmi.pip.verisignlabs.com., orsenthil, python-dev
Priority: normal Keywords: patch

Created on 2011年08月05日 16:12 by jimmi.pip.verisignlabs.com., last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python-2.7-urllib-no_proxy.patch jimmi.pip.verisignlabs.com., 2011年08月05日 16:12 remove blanks from no_proxy
Messages (2)
msg141664 - (view) Author: jimmi (jimmi.pip.verisignlabs.com.) Date: 2011年08月05日 16:12
if you define your no_proxy var as mentioned in /etc/sysocnfig/proxy
# Example: NO_PROXY="www.me.de, do.main, localhost"
then python's urllib will never make use of it, cause there are blanks.
urllib does not remove blanks.
Reproducible: Always
Steps to Reproduce:
1.try it out
Actual Results: 
proxy will not be bypassed
Expected Results: 
proxy should be bypassed
you can also review this bug:
https://bugzilla.novell.com/show_bug.cgi?id=710736 
msg141705 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011年08月06日 04:28
New changeset c5a35bcfa3ee by Senthil Kumaran in branch '2.7':
Fix closes issue12698 - make the no_proxy environment variable handling a bit lenient (accomodate spaces in between the items)
http://hg.python.org/cpython/rev/c5a35bcfa3ee
New changeset 1d4bd059a9b6 by Senthil Kumaran in branch '3.2':
Fix closes issue12698 - make the no_proxy environment variable handling a bit lenient (accomodate spaces in between the items)
http://hg.python.org/cpython/rev/1d4bd059a9b6
New changeset 47573019bfc8 by Senthil Kumaran in branch 'default':
merge from 3.2 - Fix closes issue12698 - make the no_proxy environment variable handling a bit lenient (accomodate spaces in between the items)
http://hg.python.org/cpython/rev/47573019bfc8 
History
Date User Action Args
2022年04月11日 14:57:20adminsetgithub: 56907
2011年08月06日 04:28:53python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg141705

resolution: fixed
stage: resolved
2011年08月05日 21:28:03ned.deilysetnosy: + orsenthil
2011年08月05日 16:12:15jimmi.pip.verisignlabs.com.create

AltStyle によって変換されたページ (->オリジナル) /