Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 130ee32

Browse filesBrowse files
committed
Add use_strict_mode in validOptions for session
1 parent 34655e6 commit 130ee32
Copy full SHA for 130ee32

File tree

1 file changed

+2
-1
lines changed
Filter options

1 file changed

+2
-1
lines changed

‎src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ class NativeSessionStorage implements SessionStorageInterface
8181
* name, "PHPSESSID"
8282
* referer_check, ""
8383
* serialize_handler, "php"
84+
* use_strict_mode, "0"
8485
* use_cookies, "1"
8586
* use_only_cookies, "1"
8687
* use_trans_sid, "0"
@@ -335,7 +336,7 @@ public function setOptions(array $options)
335336
'entropy_file', 'entropy_length', 'gc_divisor',
336337
'gc_maxlifetime', 'gc_probability', 'hash_bits_per_character',
337338
'hash_function', 'name', 'referer_check',
338-
'serialize_handler', 'use_cookies',
339+
'serialize_handler', 'use_strict_mode', 'use_cookies',
339340
'use_only_cookies', 'use_trans_sid', 'upload_progress.enabled',
340341
'upload_progress.cleanup', 'upload_progress.prefix', 'upload_progress.name',
341342
'upload_progress.freq', 'upload_progress.min-freq', 'url_rewriter.tags',

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.