aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2016-07-14 13:18:01 +0200
committerStas Vilchik <vilchiks@gmail.com>2016-07-14 13:25:52 +0200
commit6d6d5f77cb72d1a4cb66d15da9c2a786d46a7e85 (patch)
treee54dc95fd94c7386b12a0169cfbd87617331bed3
parent6d28b0a28573c954ab8d253e66d0fcca15b5b30b (diff)
downloadsonarqube-6d6d5f77cb72d1a4cb66d15da9c2a786d46a7e85.tar.gz
sonarqube-6d6d5f77cb72d1a4cb66d15da9c2a786d46a7e85.zip
SONAR-7868 Fix SSF-46
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/helpers/measures_helper.rb2
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 6bc58c10ec4..640db3add86 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