Merge pull request #2935

f1e3926 WizardWalletInput: disallow (back)slash (selsta)
This commit is contained in:
luigi1111 2020-07-14 15:43:58 -05:00
commit f3ee46175c
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -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;