diff options
Diffstat (limited to 'server/sonar-process')
-rw-r--r-- | server/sonar-process/src/main/java/org/sonar/process/Base64Cipher.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-process/src/main/java/org/sonar/process/Base64Cipher.java b/server/sonar-process/src/main/java/org/sonar/process/Base64Cipher.java index fb950396352..ca9044850e9 100644 --- a/server/sonar-process/src/main/java/org/sonar/process/Base64Cipher.java +++ b/server/sonar-process/src/main/java/org/sonar/process/Base64Cipher.java @@ -26,7 +26,7 @@ import org.apache.commons.io.Charsets; final class Base64Cipher implements Cipher { @Override public String encrypt(String clearText) { - return Base64.encodeBase64String(clearText.getBytes()); + return Base64.encodeBase64String(clearText.getBytes(Charsets.UTF_8)); } @Override |