From 920c2a6cdee2418d88d2bf21370df82b3d8c3f87 Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Tue, 9 Mar 2010 23:07:27 +0000 Subject: [PATCH] Fixed eve_proxy view to remove the url path from the requested string --- eve_proxy/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eve_proxy/views.py b/eve_proxy/views.py index b14aba9..c099682 100755 --- a/eve_proxy/views.py +++ b/eve_proxy/views.py @@ -7,7 +7,7 @@ def retrieve_xml(request): retrieving a cached document or querying and caching as needed. """ # This is the URL path (minus the parameters). - url_path = request.META['PATH_INFO'] + url_path = request.META['PATH_INFO'].replace(reverse('eve_proxy.views.retrieve_xml'),"/") # The parameters attached to the end of the URL path. params = request.META['QUERY_STRING']