Changeset 690 for trunk/lib/Lock.inc.php


Ignore:
Timestamp:
May 30, 2019 5:28:57 AM (5 years ago)
Author:
anonymous
Message:

Remove App's 'ssl_domain' and 'ssl_enabled' parameters; determine SSL usage by detecting the presence of HTTPS env var (or HTTP_X_FORWARDED_PROTO). Update Session parameters for greater logevity and security. Add 'session_dir' to store site-specific sess_* files with a longer gc_maxlifetime duration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Lock.inc.php

    r685 r690  
    389389        $app =& App::getInstance();
    390390
    391         $app->dieURL($this->getParam('error_url'), array('lock_id' => $this->data['lock_id'], 'boomerang' => urlencode(absoluteMe())));
     391        $app->dieURL($this->getParam('error_url'), array('lock_id' => $this->data['lock_id'], 'boomerang' => urlencode(getenv('REQUEST_URI'))));
    392392    }
    393393
Note: See TracChangeset for help on using the changeset viewer.