提交 4fbe7fcc 编写于 作者: K kohsuke

updated to a newer version of svnkit to pick up a fix for #530 "Special...

updated to a newer version of svnkit to pick up a fix for #530 "Special characters are triple-escaped on changes view"


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3307 71c3de6d-444a-0410-be80-ed276b4c234a
上级 adc08520
......@@ -109,7 +109,7 @@
<dependency>
<groupId>org.tmatesoft</groupId>
<artifactId>svnkit</artifactId>
<version>1.1.2-hudson-2</version>
<version>1.1.2-hudson-3</version>
</dependency>
<dependency>
<groupId>${groupId}</groupId>
......
......@@ -620,7 +620,7 @@ public class SubversionSCM extends SCM implements Serializable {
} else {
privateKey = FileUtils.readFileToString(getKeyFile(),"iso-8859-1");
}
return new SVNSSHAuthentication(userName, privateKey, Scrambler.descramble(passphrase),-1,false);
return new SVNSSHAuthentication(userName, privateKey.toCharArray(), Scrambler.descramble(passphrase),-1,false);
} catch (IOException e) {
throw new SVNException(SVNErrorMessage.create(SVNErrorCode.AUTHN_CREDS_UNAVAILABLE,"Unable to load private key"),e);
} catch (InterruptedException e) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册