File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ PHP 4 NEWS
12
12
- Fixed bug #33019 (socket errors cause memory leaks in php_strerror()).
13
13
(jwozniak23 at poczta dot onet dot pl, Tony).
14
14
- Fixed bug #32974 (pcntl calls malloc() from a signal handler). (Wez)
15
+ - Fixed bug #32944 (Disabling session.use_cookies doesn't prevent reading
16
+ session cookies). (Jani, Tony)
15
17
- Fixed bug #32936 (http redirects URLs are not checked for control chars). (Ilia)
16
18
- Fixed bug #32932 (Oracle LDAP: ldap_get_entries invalid pointer). (Jani)
17
19
- Fixed bug #32904 (pg_get_notify() ignores result_type parameter). (Tony)
Original file line number Diff line number Diff line change @@ -1015,7 +1015,7 @@ PHPAPI void php_session_start(TSRMLS_D)
1015
1015
*/
1016
1016
1017
1017
if (!PS (id )) {
1018
- if (zend_hash_find (& EG (symbol_table ), "_COOKIE" ,
1018
+ if (PS ( use_cookies ) && zend_hash_find (& EG (symbol_table ), "_COOKIE" ,
1019
1019
sizeof ("_COOKIE" ), (void * * ) & data ) == SUCCESS &&
1020
1020
Z_TYPE_PP (data ) == IS_ARRAY &&
1021
1021
zend_hash_find (Z_ARRVAL_PP (data ), PS (session_name ),
You can’t perform that action at this time.
0 commit comments