mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-08 01:26:03 +00:00
avoid a variable factor.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@5807 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
9e1a855ebc
commit
05e446c1cf
1 file changed
+1
-1
@@ -337,7 +337,7 @@ public class Util {
|
||||
|
||||
public static String getDigestOf(String text) {
|
||||
try {
|
||||
return getDigestOf(new ByteArrayInputStream(text.getBytes()));
|
||||
return getDigestOf(new ByteArrayInputStream(text.getBytes("UTF-8")));
|
||||
} catch (IOException e) {
|
||||
throw new Error(e);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user