# HG changeset patch # User Vadim Gelfer # Date 1141845705 28800 # Node ID 1ed809a2104ec0bd13e44cc4b4bb04f931b621e2 # Parent 7a09785d3237af015d35dc98de8e23e327546506# Parent e8b86fb8ae337e69b8e38b74efd6bd8bd63cdab3 merge with crew. diff --git a/mercurial/hgweb.py b/mercurial/hgweb.py --- a/mercurial/hgweb.py +++ b/mercurial/hgweb.py @@ -851,7 +851,7 @@ class hgweb(object): 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