-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle] Deprecate session.sid_length
and session.sid_bits_per_character
config options
#57805
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
07ac3bc
to
4253560
Compare
For the record, the deprecation poll is closed and it has been confirmed for 8.4: https://wiki.php.net/rfc/deprecations_php_8_4#sessionsid_length_and_sessionsid_bits_per_character |
NativeSessionStorage also has references to these ini options. Can you please have a look and advise what we should do there? |
NativeSessionStorage should also trigger a deprecation when those options are passed (not just FrameworkBundle) |
676e275
to
99b5c59
Compare
src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php
Outdated
Show resolved
Hide resolved
PR updated so NativeSessionStorage also throws a deprecation warning |
src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php
Outdated
Show resolved
Hide resolved
99b5c59
to
6138355
Compare
session.sid_length
and session.sid_bits_per_character
config optionssession.sid_length
and session.sid_bits_per_character
config options
src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php
Outdated
Show resolved
Hide resolved
72c6f7e
to
e31686d
Compare
session.sid_length
and session.sid_bits_per_character
config optionssession.sid_length
and session.sid_bits_per_character
config options
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
Outdated
Show resolved
Hide resolved
07f3dfe
to
34f8f5e
Compare
34f8f5e
to
46af076
Compare
46af076
to
1bd4585
Compare
…s_per_character` config options
1bd4585
to
0d2c231
Compare
Rebased after the merge of #58244 |
Thank you @alexandre-daubois. |
…_length` and `session.sid_bits_per_character` config options (alexandre-daubois) This PR was merged into the 7.2 branch. Discussion ---------- [FrameworkBundle][HttpFoundation] Deprecate `session.sid_length` and `session.sid_bits_per_character` config options Related to symfony/symfony#57805 Fixes #20224 Commits ------- f39be76 [FrameworkBundle][HttpFoundation] Deprecate `session.sid_length` and `session.sid_bits_per_character` config options
These options are (very) likely to be deprecated in PHP 8.4. Because of the many reasons of their deprecation, they may be deprecated in Symfony as well starting the next version.