##// END OF EJS Templates
security: fixed XSS in file editing.
marcink -
r3825:dadcfb43 stable
parent child Browse files
Show More
@@ -1230,7 +1230,7 b' class RepoFilesView(RepoAppView):'
1230 default_redirect_url = h.route_path('repo_commit', repo_name=self.db_repo_name,
1230 default_redirect_url = h.route_path('repo_commit', repo_name=self.db_repo_name,
1231 commit_id=commit_id)
1231 commit_id=commit_id)
1232 if content == old_content and node_path == org_node_path:
1232 if content == old_content and node_path == org_node_path:
1233 h.flash(_('No changes detected on {}').format(org_node_path),
1233 h.flash(_('No changes detected on {}').format(h.escape(org_node_path)),
1234 category='warning')
1234 category='warning')
1235 raise HTTPFound(default_redirect_url)
1235 raise HTTPFound(default_redirect_url)
1236
1236
General Comments 0
You need to be logged in to leave comments. Login now