mirror of
https://github.com/Nathanwoodburn/FireWallet.git
synced 2025-12-05 16:13:00 +11:00
Accounts: Fix password escape to allow quotes and backslash
This commit is contained in:
@@ -839,6 +839,11 @@ namespace FireWallet
|
||||
|
||||
Account = comboBoxaccount.Text;
|
||||
Password = textBoxaccountpassword.Text;
|
||||
// Escape the password to allow use in JSON
|
||||
Password = Password.Replace("\\", "\\\\");
|
||||
Password = Password.Replace("\"", "\\\"");
|
||||
|
||||
|
||||
bool loggedin = await Login();
|
||||
if (loggedin)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user