diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-07-14 13:18:01 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-07-14 13:18:01 +0200 |
commit | c41352b140f5c0d2a79aafecd47911a81e7d5b63 (patch) | |
tree | fd14cbee9e2642fd1a2e660173708dafea9351d4 | |
parent | 5955c9d51cde2ba4e14b50f68cf8c47cfdee2362 (diff) | |
download | sonarqube-c41352b140f5c0d2a79aafecd47911a81e7d5b63.tar.gz sonarqube-c41352b140f5c0d2a79aafecd47911a81e7d5b63.zip |
SONAR-7868 Fix SSF-46
-rw-r--r-- | server/sonar-web/src/main/webapp/WEB-INF/app/helpers/measures_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/measures_helper.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/measures_helper.rb index 7e75a3701ed..6bcfae18be6 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/measures_helper.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/helpers/measures_helper.rb @@ -21,7 +21,7 @@ module MeasuresHelper def list_column_html(filter, column, widget_id) if column.sort? - html = link_to_function(h(column.title_label), "refreshList#{widget_id}('#{escape_javascript column.key}',#{!filter.sort_asc?}, '#{filter.criteria[:page]||1}')", :title => h(column.tooltip)) + html = link_to_function(h(column.title_label), "refreshList#{widget_id}('#{h escape_javascript column.key}',#{!filter.sort_asc?}, '#{h(escape_javascript(filter.criteria[:page])) || 1}')", :title => h(column.tooltip)) else html=h(column.title_label) end |