changeset 5082 | 79373ec3f27d |
parent 4939 | cdd33a048289 |
parent 5078 | 142a07e758c8 |
child 5197 | 55860a45bbf2 |
--- a/mercurial/hgweb/hgwebdir_mod.py +++ b/mercurial/hgweb/hgwebdir_mod.py @@ -17,7 +17,8 @@ from hgweb_mod import hgweb class hgwebdir(object): def __init__(self, config, parentui=None): def cleannames(items): - return [(name.strip(os.sep), path) for name, path in items] + return [(util.pconvert(name.strip(os.sep)), path) + for name, path in items] self.parentui = parentui self.motd = None