From 1fe71ce6e93931b63c317b4ea816fa24bbfed7b2 Mon Sep 17 00:00:00 2001 From: Simon Beginn Date: Sat, 27 Mar 2021 00:51:12 +0100 Subject: [PATCH] Fixed unescaped slash error --- server/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/setup.sh b/server/setup.sh index 0480dbe..eb88375 100755 --- a/server/setup.sh +++ b/server/setup.sh @@ -29,7 +29,7 @@ ORIG_AUTH_SERVER_ESCAPED=$(echo "$ORIG_AUTH_SERVER" | sed -e 's/\./\\./g') get_fake_api() { FAKE_API_SERVER=$(dialog --title "Fake API address" --inputbox "Please enter the address from your faked API (with a valid HTTPS certificate). If you don't have one yourself, just use 'pritunl-api.simonmicro.de'." $winY $winX 2>&1 >/dev/tty) FAKE_API_SERVER_ESCAPED=$(echo "$FAKE_API_SERVER" | sed -e 's/\./\\./g') - FAKE_AUTH_SERVER="$FAKE_API_SERVER/auth/" + FAKE_AUTH_SERVER="$FAKE_API_SERVER\/auth\/" FAKE_AUTH_SERVER_ESCAPED=$(echo "$FAKE_AUTH_SERVER" | sed -e 's/\./\\./g') echo "Please wait, this script replacing all necessary parts of the server. This can take up to several minutes..." }