Commit 5b88a303 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Cast all path to tuple

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8711 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 728724c4
...@@ -30,6 +30,8 @@ def HTTPRequest_physicalPathToVirtualPath(self, path): ...@@ -30,6 +30,8 @@ def HTTPRequest_physicalPathToVirtualPath(self, path):
website_path = self.get(website_key, None) website_path = self.get(website_key, None)
if website_path: if website_path:
website_path = tuple(website_path) # Make sure all path are tuples
path = tuple(path) # Make sure all path are tuples
# Search for the common part index # Search for the common part index
# XXX more testing should be added to check # XXX more testing should be added to check
# if the URL is the kind of URL which is a Web Site # if the URL is the kind of URL which is a Web Site
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment