##// END OF EJS Templates
hgweb: always use "?" when writing session vars...
Gregory Szorc -
r36823:ec46415e default
parent child Browse files
Show More
@@ -177,8 +177,7 b' class requestcontext(object):'
177 177 if style == styles[0]:
178 178 vars['style'] = style
179 179
180 start = '&' if wsgireq.url[-1] == r'?' else '?'
181 sessionvars = webutil.sessionvars(vars, start)
180 sessionvars = webutil.sessionvars(vars, '?')
182 181
183 182 if not self.reponame:
184 183 self.reponame = (self.config('web', 'name', '')
@@ -509,8 +509,7 b' class hgwebdir(object):'
509 509 if style == styles[0]:
510 510 vars['style'] = style
511 511
512 start = r'&' if url[-1] == r'?' else r'?'
513 sessionvars = webutil.sessionvars(vars, start)
512 sessionvars = webutil.sessionvars(vars, r'?')
514 513 logourl = config('web', 'logourl')
515 514 logoimg = config('web', 'logoimg')
516 515 staticurl = config('web', 'staticurl') or url + 'static/'
General Comments 0
You need to be logged in to leave comments. Login now