aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/flow.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2013-03-03 14:56:56 +1300
committerAldo Cortesi <aldo@nullcube.com>2013-03-03 14:56:56 +1300
commit7835e0c2c7be0e45262a06b5e2ec2399ae019977 (patch)
treed4aeef4b45bf6b90882873a209ab71783361a247 /libmproxy/flow.py
parente608d10f455550b8afd09217f0ecf344a0bdc814 (diff)
downloadmitmproxy-7835e0c2c7be0e45262a06b5e2ec2399ae019977.tar.gz
mitmproxy-7835e0c2c7be0e45262a06b5e2ec2399ae019977.tar.bz2
mitmproxy-7835e0c2c7be0e45262a06b5e2ec2399ae019977.zip
Begin some simple fuzzing with pathod.
Finally doing what I started writing pathod for in the first place...
Diffstat (limited to 'libmproxy/flow.py')
-rw-r--r--libmproxy/flow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/flow.py b/libmproxy/flow.py
index 883c7235..4fefee9f 100644
--- a/libmproxy/flow.py
+++ b/libmproxy/flow.py
@@ -463,7 +463,7 @@ class Request(HTTPMsg):
"""
Returns a URL string, constructed from the Request's URL compnents.
"""
- return utils.unparse_url(self.scheme, self.host.decode("idna"), self.port, self.path).encode('ascii')
+ return utils.unparse_url(self.scheme, self.host.encode("idna"), self.port, self.path).encode('ascii')
def set_url(self, url):
"""