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] 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 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
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
derrabus commentedJan 29, 2019
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? |
OskarStark commentedJan 29, 2019
As this is a new "feature" it must be against |
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
derrabus commentedJan 29, 2019
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. 😃 |
XuruDragon commentedJan 30, 2019 • 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.
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. |
eb91f57 to32ad132Comparenicolas-grekas commentedJan 30, 2019
That's a new feature to me. Reports that ask for bug fixes but really ask for feature are not uncommon :) |
Uh oh!
There was an error while loading.Please reload this page.
dd20abf to0ea374cComparesrc/Symfony/Bundle/FrameworkBundle/Resources/config/schema/symfony-1.0.xsd OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
nicolas-grekas commentedFeb 8, 2019 • 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.
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/athis a fix for the issuesymfony#29830After 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 fileWe can now configure the session like this :```yamlframwork: session: sid_length: 64 //optional, recommended value is 32 sid_bits_per_character: 6 //optional, recommended value is 5```
XuruDragon commentedFeb 8, 2019
done |
nicolas-grekas commentedFeb 8, 2019
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/athis a fix for the issue#29830After 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 fileWe can now configure the session like this :```yamlframwork: 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 #30027Seesymfony/symfony#30027Added `sid_length` and `sid_vits_per_character` optionsCommits-------8e44f8e Update the documentation for the PR #30027
Uh oh!
There was an error while loading.Please reload this page.
this a fix for the issue#29830
After deliberation, we estimate that only
sid_lengthandsid_bits_per_charactersession options should be exposed. These options à optional.For others, we recommend changing your php.ini file
We can now configure the session like this :