From: Christian Weiske Date: Mon, 6 Jan 2020 17:04:15 +0000 (+0100) Subject: Fix initial login to fetch encrypted token X-Git-Url: https://git.cweiske.de/noxon-gateway.git/commitdiff_plain/33fec28066b291e52042e78a2cd9ed54651ba643 Fix initial login to fetch encrypted token Test URL paths: - /setupapp/radio567/asp/BrowseXPA/loginXML.asp?token=0 - /setupapp/radio567/asp/BrowseXPA/LoginXML.asp?token=0 - /RadioNativeLogin.php --- diff --git a/src/header.php b/src/header.php index 785ada5..03a38c3 100644 --- a/src/header.php +++ b/src/header.php @@ -2,7 +2,7 @@ set_include_path(get_include_path() . PATH_SEPARATOR . __DIR__ . '/../src/'); $requestUriNoQuery = explode('?', $_SERVER['REQUEST_URI'])[0]; -$path = $fullUri = urldecode($requestUriNoQuery); +$path = urldecode($requestUriNoQuery); $dataDir = __DIR__ . '/../data/'; $varDir = realpath(__DIR__ . '/../var') . '/'; diff --git a/www/index.php b/www/index.php index abbe698..920425f 100644 --- a/www/index.php +++ b/www/index.php @@ -1,9 +1,11 @@