mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 00:47:27 -04:00
WizardWalletInput: disallow (back)slash
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user