summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES2
-rw-r--r--M2Crypto/m2urllib2.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 489f799..c80cf79 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,8 @@
by Pavel Shramov
- OBJ_* wrappers did not work properly with OpenSSL 0.9.8a and earlier, fix by
Pavel Shramov
+- Reverted a change done in 0.17 to m2urllib2 which changed urls to include
+ host when it should stay as it was
0.19.1 - 2008-10-12
-------------------
diff --git a/M2Crypto/m2urllib2.py b/M2Crypto/m2urllib2.py
index c5c6dce..749cddc 100644
--- a/M2Crypto/m2urllib2.py
+++ b/M2Crypto/m2urllib2.py
@@ -64,7 +64,7 @@ class HTTPSHandler(AbstractHTTPHandler):
# request.
headers["Connection"] = "close"
try:
- h.request(req.get_method(), req.get_full_url(), req.data, headers)
+ h.request(req.get_method(), req.get_selector(), req.data, headers)
r = h.getresponse()
except socket.error, err: # XXX what error?
raise URLError(err)