##// END OF EJS Templates
changelog: escape the graph branch name to prevent XSS.
marcink -
r2994:6936fe23 default
parent child Browse files
Show More
@@ -89,7 +89,7 b' class RepoChangelogView(RepoAppView):'
89 data = dict(
89 data = dict(
90 raw_id=commit.raw_id,
90 raw_id=commit.raw_id,
91 idx=commit.idx,
91 idx=commit.idx,
92 branch=commit.branch,
92 branch=h.escape(commit.branch),
93 )
93 )
94 if parents:
94 if parents:
95 data['parents'] = [
95 data['parents'] = [
General Comments 0
You need to be logged in to leave comments. Login now