##// END OF EJS Templates
hgweb: split URLs containing spaces or other escaped characters correctly
Brendan Cully -
r3606:f8589028 default
parent child Browse files
Show More
@@ -708,7 +708,7 class hgweb(object):
708 708 return '%s%s%s' % (url.startswith('/') and '/' or '',
709 709 inner, tl)
710 710
711 root = normurl(req.env.get('REQUEST_URI', '').split('?', 1)[0])
711 root = normurl(urllib.unquote(req.env.get('REQUEST_URI', '').split('?', 1)[0]))
712 712 pi = normurl(req.env.get('PATH_INFO', ''))
713 713 if pi:
714 714 # strip leading /
General Comments 0
You need to be logged in to leave comments. Login now