##// END OF EJS Templates
hgweb: escape branch names in graph view
Matt Mackall -
r19879:5cbf413c stable
parent child Browse files
Show More
@@ -913,7 +913,7 b' def graph(web, req, tmpl):'
913 desc = templatefilters.firstline(ctx.description())
913 desc = templatefilters.firstline(ctx.description())
914 desc = cgi.escape(templatefilters.nonempty(desc))
914 desc = cgi.escape(templatefilters.nonempty(desc))
915 user = cgi.escape(templatefilters.person(ctx.user()))
915 user = cgi.escape(templatefilters.person(ctx.user()))
916 branch = ctx.branch()
916 branch = cgi.escape(ctx.branch())
917 try:
917 try:
918 branchnode = web.repo.branchtip(branch)
918 branchnode = web.repo.branchtip(branch)
919 except error.RepoLookupError:
919 except error.RepoLookupError:
General Comments 0
You need to be logged in to leave comments. Login now