Permalink
Browse files

it not worked with urls not finished with /

  • Loading branch information...
ei-grad committed Oct 27, 2012
1 parent 688a721 commit 72b4e3ddc6a031d6ef1a46764976bd1c8d1e9b33
Showing with 1 addition and 1 deletion.
  1. +1 −1 charon.py
View
@@ -35,7 +35,7 @@ def httprequest_repr(self):
def clean_uri(request):
- proxy_uri_prefix = 'http://' + request.host + '/'
+ proxy_uri_prefix = 'http://' + request.host
if request.uri.lower().startswith(proxy_uri_prefix.lower()):
uri = request.uri[len(proxy_uri_prefix):]
else:

0 comments on commit 72b4e3d

Please sign in to comment.