Commit 4785fce6 authored by Fabien Morin's avatar Fabien Morin

revert the r26321 because it breaks all links in the web search.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26341 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0980ea8a
......@@ -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)]:
......
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