Uploaded image for project: 'Z-Push'
  1. Z-Push
  2. ZP-1148

Username and deviceid not logged if the device sends base64 query string

    Details

    • Type: Bug
    • Status: QA
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 2.3.4
    • Fix Version/s: 2.3.5beta1, 2.3.5
    • Component/s: None
    • Labels:
      None

      Description

      Devices which send base64 encoded query string (Windows Phones) do not send the user name in the GET request. It's only in the headers which are processed after the Logger was initialised.

      24/01/2017 02:31:42 [32052] [DEBUG] [unknown] Utils::DecodeBase64URI(): decoding base64 query string: jAkJCBAwoOB46ua+LTCJyoZQw/RZBF+ReA0CV1A=
      24/01/2017 02:31:42 [32052] [DEBUG] [unknown] -------- Start
      24/01/2017 02:31:42 [32052] [DEBUG] [unknown] cmd='FolderSync' devType='WP' devId='459' getUser='lg' from='192.168.1.68' version='develop-2.3.4beta1-63-gcf35c69' method='POST'
      24/01/2017 02:31:42 [32052] [DEBUG] [unknown] Used timezone 'Europe/Amsterdam'
      24/01/2017 02:31:42 [32052] [DEBUG] [unknown] ZPush::GetBackend(): trying autoload backend 'BackendKopano'
      24/01/2017 02:31:42 [32052] [DEBUG] [unknown] BackendKopano using PHP-MAPI version: 7.2.4-29 - PHP version: 5.6.29-0+deb8u1
      24/01/2017 02:31:42 [32052] [DEBUG] [unknown] Using data from base64 encoded query string
      ...
      

      Another issue is that "decoding base64 query string" appears before "-------- Start". This was introduced in ZP-1101.

      Reported by dw2412 at https://forums.zarafa.com/showthread.php?13321-Problems-with-latest-stable-2-3-4-Release.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Manfred Manfred Kutas
                Reporter:
                Manfred Manfred Kutas
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: