aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/console/flowview.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2012-12-30 00:43:57 -0800
committerAldo Cortesi <aldo@corte.si>2012-12-30 00:43:57 -0800
commitd16b3ed8fa3695aa4ff7b2b09b4a7045a99365cb (patch)
treefe0fe6dffb5d56a9407d98bc375c663a0817b784 /libmproxy/console/flowview.py
parent0451eb193ef0abaf875bfd8ad2a1ac4bd68c3efe (diff)
parent4d250095cba36b32ce3e5083d453525209eeee06 (diff)
downloadmitmproxy-d16b3ed8fa3695aa4ff7b2b09b4a7045a99365cb.tar.gz
mitmproxy-d16b3ed8fa3695aa4ff7b2b09b4a7045a99365cb.tar.bz2
mitmproxy-d16b3ed8fa3695aa4ff7b2b09b4a7045a99365cb.zip
Merge pull request #81 from kanzure/issue/79
Fix external viewer function by using shlex
Diffstat (limited to 'libmproxy/console/flowview.py')
-rw-r--r--libmproxy/console/flowview.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmproxy/console/flowview.py b/libmproxy/console/flowview.py
index 3473c474..4215f170 100644
--- a/libmproxy/console/flowview.py
+++ b/libmproxy/console/flowview.py
@@ -343,7 +343,7 @@ class FlowView(common.WWrap):
self.flow.backup()
if part == "r":
c = self.master.spawn_editor(conn.content or "")
- conn.content = c.rstrip("\n")
+ conn.content = c.rstrip("\n") # what?
elif part == "f":
if not conn.get_form_urlencoded() and conn.content:
self.master.prompt_onekey(