fix encoding issue with FTP credentials

This commit is contained in:
Philipp Crocoll 2017-01-31 11:11:17 +01:00
parent 44b0a7b898
commit e96fc44cf3

View File

@ -121,8 +121,8 @@ namespace keepass2android.Io
return new ConnectionSettings()
{
EncryptionMode = (FtpEncryptionMode) int.Parse(tokens[2]),
Username = tokens[0],
Password = tokens[1]
Username = WebUtility.UrlDecode(tokens[0]),
Password = WebUtility.UrlDecode(tokens[1])
};
}