Fixed eve_proxy view to remove the url path from the requested string

This commit is contained in:
2010-03-09 23:07:27 +00:00
parent e65afef1db
commit 920c2a6cde

View File

@@ -7,7 +7,7 @@ def retrieve_xml(request):
retrieving a cached document or querying and caching as needed. retrieving a cached document or querying and caching as needed.
""" """
# This is the URL path (minus the parameters). # 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. # The parameters attached to the end of the URL path.
params = request.META['QUERY_STRING'] params = request.META['QUERY_STRING']