bug #22352 [HttpFoundation] Add use_strict_mode
in validOptions for session (sstok)
This PR was merged into the 2.7 branch.
Discussion
----------
[HttpFoundation] Add `use_strict_mode` in validOptions for session
| Q | A
| ------------- | ---
| Branch? | 3.2
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | #9258
| License | MIT
| Doc PR |
PHP ini `session.use_strict_mode` was added in PHP 5.5.2 so I didn't target 2.8 as this still uses PHP 5.3. https://secure.php.net/manual/en/session.configuration.php#ini.session.use-strict-mode
Commits
-------
130ee327d4
Add `use_strict_mode` in validOptions for session
This commit is contained in:
commit
63592a646c
@ -81,6 +81,7 @@ class NativeSessionStorage implements SessionStorageInterface
|
|||||||
* name, "PHPSESSID"
|
* name, "PHPSESSID"
|
||||||
* referer_check, ""
|
* referer_check, ""
|
||||||
* serialize_handler, "php"
|
* serialize_handler, "php"
|
||||||
|
* use_strict_mode, "0"
|
||||||
* use_cookies, "1"
|
* use_cookies, "1"
|
||||||
* use_only_cookies, "1"
|
* use_only_cookies, "1"
|
||||||
* use_trans_sid, "0"
|
* use_trans_sid, "0"
|
||||||
@ -335,7 +336,7 @@ class NativeSessionStorage implements SessionStorageInterface
|
|||||||
'entropy_file', 'entropy_length', 'gc_divisor',
|
'entropy_file', 'entropy_length', 'gc_divisor',
|
||||||
'gc_maxlifetime', 'gc_probability', 'hash_bits_per_character',
|
'gc_maxlifetime', 'gc_probability', 'hash_bits_per_character',
|
||||||
'hash_function', 'name', 'referer_check',
|
'hash_function', 'name', 'referer_check',
|
||||||
'serialize_handler', 'use_cookies',
|
'serialize_handler', 'use_strict_mode', 'use_cookies',
|
||||||
'use_only_cookies', 'use_trans_sid', 'upload_progress.enabled',
|
'use_only_cookies', 'use_trans_sid', 'upload_progress.enabled',
|
||||||
'upload_progress.cleanup', 'upload_progress.prefix', 'upload_progress.name',
|
'upload_progress.cleanup', 'upload_progress.prefix', 'upload_progress.name',
|
||||||
'upload_progress.freq', 'upload_progress.min-freq', 'url_rewriter.tags',
|
'upload_progress.freq', 'upload_progress.min-freq', 'url_rewriter.tags',
|
||||||
|
Reference in New Issue
Block a user