diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-06-05 00:32:26 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-06-05 00:32:26 +0200 |
commit | 4ea75b54efbd300d537182920abc94995c2e2fec (patch) | |
tree | d774dc7ece0854c73575a28ba9eafe770bde2651 /sonar-server/src | |
parent | 835b50faabb8b2ccdb0f3b7e1ee01cc0606d4e24 (diff) | |
download | sonarqube-4ea75b54efbd300d537182920abc94995c2e2fec.tar.gz sonarqube-4ea75b54efbd300d537182920abc94995c2e2fec.zip |
SONAR-4225 escape rule titles in issue drilldown
Diffstat (limited to 'sonar-server/src')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/issues.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/issues.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/issues.html.erb index 8b5e5bdcecd..b553ca101f6 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/issues.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/issues.html.erb @@ -91,7 +91,7 @@ <img src="<%= ApplicationController.root_context -%>/images/priority/<%= rule_measure.rule_priority -%>.png"/> </td> <td> - <%= link_to(rule.name, {:controller => :drilldown, :action => :issues, :id => @resource.id, :rule => (selected ? nil : rule.key), + <%= link_to(h(rule.name), {:controller => :drilldown, :action => :issues, :id => @resource.id, :rule => (selected ? nil : rule.key), :rule_sev => (selected ? nil : rule_measure.severity), :sid => nil, :severity => @severity, :period => @period, :rids => (selected ? nil : @selected_rids)}, :title => "#{rule.plugin_name}: #{rule.plugin_rule_key}") -%> </td> |