From ce5550c7ea0f111517559315ce33f1281012576c Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Lievremont Date: Wed, 22 Oct 2014 11:04:23 +0200 Subject: [PATCH] SONAR-5758 Apply CSV escaping on classic rule activation params --- .../views/coding-rules-quality-profile-activation-view.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/sonar-web/src/main/coffee/coding-rules/views/coding-rules-quality-profile-activation-view.coffee b/server/sonar-web/src/main/coffee/coding-rules/views/coding-rules-quality-profile-activation-view.coffee index 785075e167f..d6addd2db4e 100644 --- a/server/sonar-web/src/main/coffee/coding-rules/views/coding-rules-quality-profile-activation-view.coffee +++ b/server/sonar-web/src/main/coffee/coding-rules/views/coding-rules-quality-profile-activation-view.coffee @@ -28,7 +28,7 @@ define [ params = @ui.qualityProfileParameters.map(-> key: jQuery(@).prop('name'), value: jQuery(@).val() || jQuery(@).prop('placeholder') || '').get() - paramsHash = (params.map (param) -> param.key + '=' + param.value).join(';') + paramsHash = (params.map (param) -> param.key + '=' + window.csvEscape(param.value)).join(';') if @model profileKey = @model.get('qProfile') -- 2.39.5