[BUGFIX] Improve check for started session in rsaauth
authorHelmut Hummel <helmut.hummel@typo3.org>
Sun, 25 Sep 2011 10:54:31 +0000 (12:54 +0200)
committerJigal van Hemert <jigal@xs4all.nl>
Fri, 21 Oct 2011 20:17:20 +0000 (22:17 +0200)
commit60dc1889e6004999f736b603cbd661875b515549
treecee6e3b9d5c47065fc6d8b02420ccd58434f44f1
parentf3ced448ff40515a78d3e9802c29f3560b19dcca
[BUGFIX] Improve check for started session in rsaauth

Checking if the superglobal $_SESSION is an array is not reliable.
Change the check to use session_id() which is an empty string
if the session has not been started.

Change-Id: Iac913beee5af40d28c17ade6a8bfa17df4da2374
Resolves: #30270
Releases: 4.3, 4.4, 4.5, 4.6
Reviewed-on: http://review.typo3.org/5314
Reviewed-by: Oliver Klee
Reviewed-by: Jigal van Hemert
Reviewed-by: Zach Davis
Tested-by: Zach Davis
Tested-by: Jigal van Hemert
typo3/sysext/rsaauth/sv1/storage/class.tx_rsaauth_split_storage.php