Uploaded image for project: 'Kopano WebApp'
  1. Kopano WebApp
  2. KW-3590

Fix php5.4 parse errors in fingerprint

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 4.6.1
    • Security Level: Public
    • Labels:
      None

      Description

      [   96s] PHP Parse error:  syntax error, unexpected ')', expecting :: (T_PAAMAYIM_NEKUDOTAYIM) in server/includes/controllers/service.fingerprint.php on line 60
      [   96s] Errors parsing server/includes/controllers/service.fingerprint.php
      [   96s] make: *** [deploy/server/includes/controllers/service.fingerprint.php] Error 255
      [   96s] error: Bad exit status from /var/tmp/rpm-tmp.JYYEoe (%build)
      
      // Single sign on will never go through the login page. So we cannot check
      // the fingerprint there!
      if ( empty(OIDC_ISS) && !WebAppAuthentication::isUsingSingleSignOn() && (!isset($_SESSION['frontend-fingerprint']) || $_POST['fingerprint'] !== $_SESSION['frontend-fingerprint']) ){
                      error_log('frontend-fingerprint did not match. Session terminated. ' . WebAppAuthentication::getUserName());
                      $phpSession->destroy();
                      Response::unAuthorized();
      }
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            malberts Martijn Alberts
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: