From 7e1bcf84f0b51e4be1d47c18ea226ab3d75da2b3 Mon Sep 17 00:00:00 2001 From: "vladimir.kuznetsov" Date: Thu, 16 Mar 2023 18:59:06 +0300 Subject: [PATCH] fixed saving site from "fake web site" field when configuring openvpn over cloak via wizard --- client/ui/qml/Pages/PageSetupWizardHighLevel.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/ui/qml/Pages/PageSetupWizardHighLevel.qml b/client/ui/qml/Pages/PageSetupWizardHighLevel.qml index 8b4bd322..e0f194ff 100644 --- a/client/ui/qml/Pages/PageSetupWizardHighLevel.qml +++ b/client/ui/qml/Pages/PageSetupWizardHighLevel.qml @@ -54,12 +54,12 @@ You SHOULD set this website address to some foreign website which is not blocked text: WizardLogic.lineEditHighWebsiteMaskingText onEditingFinished: { let _text = website_masking.text - _text.replace("http://", ""); - _text.replace("https://", ""); + _text = _text.replace("http://", ""); + _text = _text.replace("https://", ""); if (!_text) { return } - _text = _text.split("/").first(); + _text = _text.split("/")[0]; WizardLogic.lineEditHighWebsiteMaskingText = _text } onAccepted: {