aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-server
diff options
context:
space:
mode:
authorTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2017-06-23 11:35:22 +0200
committerTeryk Bellahsene <teryk.bellahsene@sonarsource.com>2017-06-26 09:09:43 +0200
commit8c440dbca465878ef3696361bb3ef81a25a22876 (patch)
tree7ed80127e37a392c91c75bac670577993cb53255 /server/sonar-server
parent9a14b55abf2e2bc660b239f3da823f0b42193572 (diff)
downloadsonarqube-8c440dbca465878ef3696361bb3ef81a25a22876.tar.gz
sonarqube-8c440dbca465878ef3696361bb3ef81a25a22876.zip
SONAR-9448 Sanitize api/qualityprofiles/restore
Diffstat (limited to 'server/sonar-server')
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/qualityprofile/ws/RestoreAction.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/qualityprofile/ws/RestoreAction.java b/server/sonar-server/src/main/java/org/sonar/server/qualityprofile/ws/RestoreAction.java
index eed6317380a..44f977f87bc 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/qualityprofile/ws/RestoreAction.java
+++ b/server/sonar-server/src/main/java/org/sonar/server/qualityprofile/ws/RestoreAction.java
@@ -65,8 +65,8 @@ public class RestoreAction implements QProfileWsAction {
WebService.NewAction action = controller.createAction(ACTION_RESTORE)
.setSince("5.2")
.setDescription("Restore a quality profile using an XML file. The restored profile name is taken from the backup file, " +
- "so if a profile with the same name and language already exists, it will be overwritten. " +
- "Require Administer Quality Profiles permission.")
+ "so if a profile with the same name and language already exists, it will be overwritten.<br> " +
+ "Requires to be logged in and the 'Administer Quality Profiles' permission.")
.setPost(true)
.setHandler(this);