From 225b0718837e4bb48cfb90296b620e9a38eaf5eb Mon Sep 17 00:00:00 2001 From: allfro Date: Wed, 15 Aug 2012 20:01:31 -0300 Subject: [PATCH] Made search for path case insensitive --- src/miproxy/proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/miproxy/proxy.py b/src/miproxy/proxy.py index efc6089..a0af2cb 100644 --- a/src/miproxy/proxy.py +++ b/src/miproxy/proxy.py @@ -127,7 +127,7 @@ class UnsupportedSchemeException(Exception): class ProxyHandler(BaseHTTPRequestHandler): - r = compile(r'http://[^/]+(/?.*)') + r = compile(r'http://[^/]+(/?.*)(?i)') def _connect_to_host(self): # Get hostname and port to connect to