-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle] Add sid_length and sid_bits_per_character session ini options in session configuration #30027
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
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
Show resolved
Hide resolved
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
Show resolved
Hide resolved
In #29830, @pravdinalex reported that the 3.4 branch lacks support for those options as well. Was this PR intentionally opened against the master branch? |
As this is a new "feature" it must be against |
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php
Outdated
Show resolved
Hide resolved
Is it? The new feature has been implemented in php itself and the HTTP Foundation component already supports it. One could argue that this PR merely solves a configuration issue of the Framework Bundle. I don't have a clear opinion on this. I've just noticed a contradiction between the linked issue and the PR and thought I should mention it. 😃 |
yes indeed, my first intention was to make it a bugfix for the 3.4 branch. But as it can change the behavior of the application and can be set in the application, it sounds like a new feature. But I'm open to change it. |
34f0d92
to
69a8c7b
Compare
69a8c7b
to
73ca6f1
Compare
eb91f57
to
32ad132
Compare
That's a new feature to me. Reports that ask for bug fixes but really ask for feature are not uncommon :) |
dd20abf
to
0ea374c
Compare
src/Symfony/Bundle/FrameworkBundle/Resources/config/schema/symfony-1.0.xsd
Outdated
Show resolved
Hide resolved
0ea374c
to
23888fa
Compare
rebase needed |
…ni options in configuration | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | symfony#29830 | License | MIT | Doc PR | n/a this a fix for the issue symfony#29830 After deliberation, we estimate that only `sid_length` and` sid_bits_per_character` session options should be exposed. These options à optional. For others, we recommend changing your php.ini file We can now configure the session like this : ```yaml framwork: session: sid_length: 64 //optional, recommended value is 32 sid_bits_per_character: 6 //optional, recommended value is 5 ```
23888fa
to
0403e4a
Compare
done |
Thank you @XuruDragon. |
…acter session ini options in session configuration (XuruDragon) This PR was merged into the 4.3-dev branch. Discussion ---------- [FrameworkBundle] Add sid_length and sid_bits_per_character session ini options in session configuration | Q | A | ------------- | --- | Branch? | master | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #29830 | License | MIT | Doc PR | n/a this a fix for the issue #29830 After deliberation, we estimate that only `sid_length` and` sid_bits_per_character` session options should be exposed. These options à optional. For others, we recommend changing your php.ini file We can now configure the session like this : ```yaml framwork: session: sid_length: 64 //optional, recommended value is 32 sid_bits_per_character: 6 //optional, recommended value is 5 ``` Commits ------- 0403e4a [FrameworkBundle] Add sid_length and sid_bits_per_character session ini options in configuration
This PR was merged into the master branch. Discussion ---------- Update the documentation for the PR #30027 See symfony/symfony#30027 Added `sid_length` and `sid_vits_per_character` options Commits ------- 8e44f8e Update the documentation for the PR #30027
this a fix for the issue #29830
After deliberation, we estimate that only
sid_length
andsid_bits_per_character
session options should be exposed. These options à optional.For others, we recommend changing your php.ini file
We can now configure the session like this :