Commit 09abc22a authored by Sebastian Kummer's avatar Sebastian Kummer

Merge pull request #424 in ZP/z-push from...

Merge pull request #424 in ZP/z-push from feature/ZP-1101-log-query-string-if-client-sends to develop

* commit '1b7f29c6':
  ZP-1101 Log query string.
parents 807a6656 1b7f29c6
...@@ -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