mercurial/hgweb/hgwebdir_mod.py
changeset 34703 d1fccbd50fcd
parent 34702 b2316265a32e
child 36607 c6061cadb400
child 36845 ff2370a70fe8
--- a/mercurial/hgweb/hgwebdir_mod.py	Thu Oct 05 14:48:31 2017 -0400
+++ b/mercurial/hgweb/hgwebdir_mod.py	Thu Oct 05 14:48:52 2017 -0400
@@ -508,7 +508,7 @@
         if style == styles[0]:
             vars['style'] = style
 
-        start = '&' if url[-1] == '?' else '?'
+        start = r'&' if url[-1] == r'?' else r'?'
         sessionvars = webutil.sessionvars(vars, start)
         logourl = config('web', 'logourl')
         logoimg = config('web', 'logoimg')