diff options
| author | selsta <selsta@sent.at> | 2020-06-04 18:33:07 +0200 |
|---|---|---|
| committer | selsta <selsta@sent.at> | 2020-06-04 18:33:07 +0200 |
| commit | f1e3926192c41ec04d8c39d93a77fdd786a56f42 (patch) | |
| tree | 3b5567db104dd40b0bdab4d10330ab27680efd26 /wizard/WizardWalletInput.qml | |
| parent | b15dbbb9b09a660a810bcf1fdddba97e97407ea2 (diff) | |
| download | monzero-gui-f1e3926192c41ec04d8c39d93a77fdd786a56f42.tar.gz monzero-gui-f1e3926192c41ec04d8c39d93a77fdd786a56f42.tar.xz monzero-gui-f1e3926192c41ec04d8c39d93a77fdd786a56f42.zip | |
WizardWalletInput: disallow (back)slash
Diffstat (limited to 'wizard/WizardWalletInput.qml')
| -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; |
