mirror of
https://github.com/monero-project/monero-gui.git
synced 2025-01-09 19:32:03 +02:00
Merge pull request #2935
f1e3926
WizardWalletInput: disallow (back)slash (selsta)
This commit is contained in:
commit
f3ee46175c
@ -64,7 +64,7 @@ GridLayout {
|
|||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
||||||
function verify(){
|
function verify(){
|
||||||
if(walletLocation === "") return false;
|
if(walletLocation === "" || /[\\\/]/.test(walletName.text)) return false;
|
||||||
|
|
||||||
var exists = Wizard.walletPathExists(walletLocation.text, walletName.text, isIOS, walletManager);
|
var exists = Wizard.walletPathExists(walletLocation.text, walletName.text, isIOS, walletManager);
|
||||||
return !exists && walletLocation.error === false;
|
return !exists && walletLocation.error === false;
|
||||||
|
Loading…
Reference in New Issue
Block a user