##// 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 b' class hgweb(object):'
708 return '%s%s%s' % (url.startswith('/') and '/' or '',
708 return '%s%s%s' % (url.startswith('/') and '/' or '',
709 inner, tl)
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 pi = normurl(req.env.get('PATH_INFO', ''))
712 pi = normurl(req.env.get('PATH_INFO', ''))
713 if pi:
713 if pi:
714 # strip leading /
714 # strip leading /
General Comments 0
You need to be logged in to leave comments. Login now