aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcelo Glezer <marcelo.glezer@gmail.com>2015-02-11 22:03:57 -0300
committerMarcelo Glezer <marcelo.glezer@gmail.com>2015-02-11 22:03:57 -0300
commit27a1947599f33e7c57c185231f7e623a8b2d4dee (patch)
tree09e38c6a4c365b7da1b849a3b66dc15b5621f31d
parent493cecfaf27f7680c8acaaa88a467fc016a00bf8 (diff)
downloadmitmproxy-27a1947599f33e7c57c185231f7e623a8b2d4dee.tar.gz
mitmproxy-27a1947599f33e7c57c185231f7e623a8b2d4dee.tar.bz2
mitmproxy-27a1947599f33e7c57c185231f7e623a8b2d4dee.zip
missing str in http.parse_url
-rw-r--r--libmproxy/console/flowlist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/console/flowlist.py b/libmproxy/console/flowlist.py
index 7d511682..92d58d11 100644
--- a/libmproxy/console/flowlist.py
+++ b/libmproxy/console/flowlist.py
@@ -266,7 +266,7 @@ class FlowListBox(urwid.ListBox):
def new_request(self, url, method):
try:
- scheme, host, port, path = http.parse_url(url)
+ scheme, host, port, path = http.parse_url(str(url))
f = self.master.create_request(method, scheme, host, port, path)
self.master.view_flow(f)
except ValueError: