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 3bbb657

Browse filesBrowse files
committed
feature #23184 [HttpFoundation] Remove obsolete ini settings for sessions (fabpot)
This PR was merged into the 4.0-dev branch. Discussion ---------- [HttpFoundation] Remove obsolete ini settings for sessions | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #21606 | License | MIT | Doc PR | n/a As of PHP 7.1, those settings do not exist anymore. See http://php.net/manual/de/migration71.other-changes.php#migration71.other-changes.session-id-generation-without-hashing Commits ------- 86911b5 [HttpFoundation] removed obsolete ini settings for sessions
2 parents 9e680f0 + 86911b5 commit 3bbb657
Copy full SHA for 3bbb657

File tree

1 file changed

+3
-6
lines changed
Filter options

1 file changed

+3
-6
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
+3-6Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,10 @@ class NativeSessionStorage implements SessionStorageInterface
7171
* cookie_lifetime, "0"
7272
* cookie_path, "/"
7373
* cookie_secure, ""
74-
* entropy_file, ""
75-
* entropy_length, "0"
7674
* gc_divisor, "100"
7775
* gc_maxlifetime, "1440"
7876
* gc_probability, "1"
7977
* hash_bits_per_character, "4"
80-
* hash_function, "0"
8178
* name, "PHPSESSID"
8279
* referer_check, ""
8380
* serialize_handler, "php"
@@ -328,9 +325,9 @@ public function setOptions(array $options)
328325
$validOptions = array_flip(array(
329326
'cache_limiter', 'cookie_domain', 'cookie_httponly',
330327
'cookie_lifetime', 'cookie_path', 'cookie_secure',
331-
'entropy_file', 'entropy_length', 'gc_divisor',
332-
'gc_maxlifetime', 'gc_probability', 'hash_bits_per_character',
333-
'hash_function', 'name', 'referer_check',
328+
'gc_divisor',
329+
'gc_maxlifetime', 'gc_probability',
330+
'name', 'referer_check',
334331
'serialize_handler', 'use_strict_mode', 'use_cookies',
335332
'use_only_cookies', 'use_trans_sid', 'upload_progress.enabled',
336333
'upload_progress.cleanup', 'upload_progress.prefix', 'upload_progress.name',

0 commit comments

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