Commit 1b7f29c6 authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1101 Log query string.

Released under the Affero GNU General Public License (AGPL) version 3.
parent 622f9323
...@@ -580,6 +580,7 @@ class Utils { ...@@ -580,6 +580,7 @@ class Utils {
* variable - value of the parameter * variable - value of the parameter
* *
*/ */
ZLog::Write(LOGLEVEL_DEBUG, sprintf("Utils::DecodeBase64URI(): decoding base64 query string: %s", $query));
$decoded = base64_decode($query); $decoded = base64_decode($query);
$devIdLength = ord($decoded[4]); //device ID length $devIdLength = ord($decoded[4]); //device ID length
$polKeyLength = ord($decoded[5+$devIdLength]); //policy key length $polKeyLength = ord($decoded[5+$devIdLength]); //policy key length
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment