diff mercurial/hgweb.py @ 1864:7a09785d3237

Fix manifest view on Windows
author Lee Cantey <lcantey@gmail.com>
date Wed, 08 Mar 2006 11:20:39 -0800
parents 24881eaebee3
children b7cc0f323a4c
line wrap: on
line diff
--- a/mercurial/hgweb.py	Wed Mar 08 06:20:32 2006 +0100
+++ b/mercurial/hgweb.py	Wed Mar 08 11:20:39 2006 -0800
@@ -851,7 +851,7 @@
 
     def run(self, req=hgrequest()):
         def clean(path):
-            p = os.path.normpath(path)
+            p = util.normpath(path)
             if p[:2] == "..":
                 raise "suspicious path"
             return p