Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[FrameworkBundle] Deprecatesession.sid_length andsession.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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
07ac3bc to4253560Comparealexandre-daubois commentedAug 5, 2024
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 |
nicolas-grekas commentedAug 13, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
NativeSessionStorage also has references to these ini options. Can you please have a look and advise what we should do there? |
stof commentedAug 13, 2024
NativeSessionStorage should also trigger a deprecation when those options are passed (not just FrameworkBundle) |
676e275 to99b5c59Comparesrc/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
alexandre-daubois commentedAug 18, 2024
PR updated so NativeSessionStorage also throws a deprecation warning |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
99b5c59 to6138355Comparesession.sid_length andsession.sid_bits_per_character config optionssession.sid_length andsession.sid_bits_per_character config optionssrc/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
72c6f7e toe31686dComparesession.sid_length andsession.sid_bits_per_character config optionssession.sid_length andsession.sid_bits_per_character config optionssrc/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
07f3dfe to34f8f5eCompare34f8f5e to46af076Compare46af076 to1bd4585Compare…s_per_character` config options
1bd4585 to0d2c231Comparealexandre-daubois commentedSep 16, 2024
Rebased after the merge of#58244 |
nicolas-grekas commentedSep 16, 2024
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 optionsRelated tosymfony/symfony#57805Fixes#20224Commits-------f39be76 [FrameworkBundle][HttpFoundation] Deprecate `session.sid_length` and `session.sid_bits_per_character` config options
Uh oh!
There was an error while loading.Please reload this page.
These options are (very) likely to bedeprecated in PHP 8.4. Because of the many reasons of their deprecation, they may be deprecated in Symfony as well starting the next version.