aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/proxy.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmproxy/proxy.py')
-rw-r--r--libmproxy/proxy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/libmproxy/proxy.py b/libmproxy/proxy.py
index c5e5971a..5051492c 100644
--- a/libmproxy/proxy.py
+++ b/libmproxy/proxy.py
@@ -287,6 +287,8 @@ class Request(controller.Msg):
made.
"""
self.content, c = re.subn(pattern, repl, self.content, count, flags)
+ self.path, pc = re.subn(pattern, repl, self.path, count, flags)
+ c += pc
c += self.headers.replace(pattern, repl, count, flags)
return c