mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
hgweb: escape branch names in graph view
This commit is contained in:
parent
bcf260ff40
commit
1b8efe2652
@ -913,7 +913,7 @@ def graph(web, req, tmpl):
|
||||
desc = templatefilters.firstline(ctx.description())
|
||||
desc = cgi.escape(templatefilters.nonempty(desc))
|
||||
user = cgi.escape(templatefilters.person(ctx.user()))
|
||||
branch = ctx.branch()
|
||||
branch = cgi.escape(ctx.branch())
|
||||
try:
|
||||
branchnode = web.repo.branchtip(branch)
|
||||
except error.RepoLookupError:
|
||||
|
Loading…
Reference in New Issue
Block a user