mercurial/hgweb/hgweb_mod.py
branchstable
changeset 38745 258d90f69076
parent 38307 519b46a8f4d2
child 38928 4167437a45dd
--- a/mercurial/hgweb/hgweb_mod.py	Fri Jul 20 09:08:20 2018 +0200
+++ b/mercurial/hgweb/hgweb_mod.py	Wed Jul 25 10:05:24 2018 +0200
@@ -136,7 +136,7 @@
         logourl = self.config('web', 'logourl')
         logoimg = self.config('web', 'logoimg')
         staticurl = (self.config('web', 'staticurl')
-                     or req.apppath + '/static/')
+                     or req.apppath.rstrip('/') + '/static/')
         if not staticurl.endswith('/'):
             staticurl += '/'