diff options
| author | luigi1111 <luigi1111w@gmail.com> | 2020-07-14 15:43:58 -0500 |
|---|---|---|
| committer | luigi1111 <luigi1111w@gmail.com> | 2020-07-14 15:43:58 -0500 |
| commit | f3ee46175c6482babadb5920ea2b222249a9c111 (patch) | |
| tree | c0ce11a65f636f85dcf9e48d2a6d6967eff7deb0 | |
| parent | 17a3c51a4343de5979040a8a48a7cabe9b15d301 (diff) | |
| parent | f1e3926192c41ec04d8c39d93a77fdd786a56f42 (diff) | |
| download | monzero-gui-f3ee46175c6482babadb5920ea2b222249a9c111.tar.gz monzero-gui-f3ee46175c6482babadb5920ea2b222249a9c111.tar.xz monzero-gui-f3ee46175c6482babadb5920ea2b222249a9c111.zip | |
Merge pull request #2935
f1e3926 WizardWalletInput: disallow (back)slash (selsta)
| -rw-r--r-- | wizard/WizardWalletInput.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wizard/WizardWalletInput.qml b/wizard/WizardWalletInput.qml index 64356c89..261f4b37 100644 --- a/wizard/WizardWalletInput.qml +++ b/wizard/WizardWalletInput.qml @@ -64,7 +64,7 @@ GridLayout { Layout.fillWidth: true function verify(){ - if(walletLocation === "") return false; + if(walletLocation === "" || /[\\\/]/.test(walletName.text)) return false; var exists = Wizard.walletPathExists(walletLocation.text, walletName.text, isIOS, walletManager); return !exists && walletLocation.error === false; |
