# HG changeset patch # User Alexis S. L. Carvalho # Date 1186364199 10800 # Node ID ccdc8db02bdf6f812dc7dd772c056161245474c5 # Parent 142a07e758c8c638cb3d76b8715d674d8cbe5f1b hgweb: don't use os.path.join to build URL parts diff --git a/mercurial/hgweb/hgweb_mod.py b/mercurial/hgweb/hgweb_mod.py --- a/mercurial/hgweb/hgweb_mod.py +++ b/mercurial/hgweb/hgweb_mod.py @@ -488,7 +488,7 @@ class hgweb(object): continue yield {"parity": parity.next(), - "path": os.path.join(abspath, f), + "path": "%s%s" % (abspath, f), "basename": f[:-1]} yield self.t("manifest",