Kaydet (Commit) 7667680d authored tarafından Moshe Zadka's avatar Moshe Zadka

Idiotic braino caused HTTP openers to ignore proxies.

This fixes 413135
üst 2bd0d883
......@@ -781,7 +781,7 @@ def encode_digest(digest):
class AbstractHTTPHandler(BaseHandler):
def do_open(self, http_class, req):
host = urlparse.urlparse(req.get_full_url())[1]
host = req.get_host()
if not host:
raise URLError('no host given')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment