##// END OF EJS Templates
hgwebdir: normalize virtual paths before stripping the separator...
Patrick Mezard -
r5584:d2831a5d default
parent child Browse files
Show More
@@ -16,7 +16,7 b' from hgweb_mod import hgweb'
16 class hgwebdir(object):
16 class hgwebdir(object):
17 def __init__(self, config, parentui=None):
17 def __init__(self, config, parentui=None):
18 def cleannames(items):
18 def cleannames(items):
19 return [(util.pconvert(name.strip(os.sep)), path)
19 return [(util.pconvert(name).strip('/'), path)
20 for name, path in items]
20 for name, path in items]
21
21
22 self.parentui = parentui
22 self.parentui = parentui
General Comments 0
You need to be logged in to leave comments. Login now