diff --git a/product/ERP5/Document/WebSite.py b/product/ERP5/Document/WebSite.py index 009f336c383058a05f2d1d9145bdb14f77907665..3a7a8cd855932a4e7286b228431d77d6d4ec72e2 100644 --- a/product/ERP5/Document/WebSite.py +++ b/product/ERP5/Document/WebSite.py @@ -85,7 +85,7 @@ class WebSiteTraversalHook(Persistent): i += 1 # Insert the web site path after the common part of the path if path_len > common_index + 1: - path = website_path[0:common_index+1] + path[common_index + 1:] + path = website_path + path[common_index + 1:] rpp = request.other.get('VirtualRootPhysicalPath', ('', )) i = 0 for name in rpp[:len(path)]: