diff options
author | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-10-22 11:04:23 +0200 |
---|---|---|
committer | Jean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com> | 2014-10-22 11:04:28 +0200 |
commit | ce5550c7ea0f111517559315ce33f1281012576c (patch) | |
tree | 2a4828d498f6368b05ced454bd26300e8de1dcaa /server/sonar-web/src | |
parent | 401dcbd24bde818c8d29152e1d8796208531e71e (diff) | |
download | sonarqube-ce5550c7ea0f111517559315ce33f1281012576c.tar.gz sonarqube-ce5550c7ea0f111517559315ce33f1281012576c.zip |
SONAR-5758 Apply CSV escaping on classic rule activation params
Diffstat (limited to 'server/sonar-web/src')
-rw-r--r-- | server/sonar-web/src/main/coffee/coding-rules/views/coding-rules-quality-profile-activation-view.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
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') |