Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

[FrameworkBundle] Sessions: configurable "use_strict_mode" option for NativeSessionStorage#22730

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

Merged
fabpot merged 1 commit intosymfony:2.7fromMacDada:use_strict_mode_config
Jun 18, 2017

Conversation

@MacDada
Copy link
Contributor

QA
Branch?2.7
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
LicenseMIT

It is currently not possible to configure theuse_strict_mode option forNativeSessionStorage in a proper manner.

The reason of this PR:#22352 (comment)

It could be considered a new feature, but I wish it wouldn't, as I don't want to do any ugly hacking to get it working.

What else could be done?

  • implement more options fromNativeSessionStorage in the config?
  • get rid of duplication somehow (maybe a static method inNativeSessionStorage that would return the option list and could be used inFrameworkExtension?)
  • updateFrameworkExtensionTest?
  • updateConfigurationTest?
  • updatethe docs?

I'm willing to do those if decided.

sstok reacted with thumbs up emoji
@xabbuh
Copy link
Member

You will also need to update the XML schema definition.

@MacDada
Copy link
ContributorAuthor

You will also need to updatethe XML schema definition.

@xabbuh ?

@xabbuh
Copy link
Member

What I mean is that you will have to updatethis block to allow to use the new option in XML configs.

MacDada added a commit to MacDada/symfony that referenced this pull requestJun 3, 2017
@fabpot
Copy link
Member

I think being able to configure all options in the config make sense (rebase on current 2.7 as we've just added 4 new options from 7.1). Doing that in a somewhat automated way would be even better if possible.

@MacDada
Copy link
ContributorAuthor

I don't know how could it be automated.

@MacDadaMacDadaforce-pushed theuse_strict_mode_config branch from793474c to90e192eCompareJune 16, 2017 18:49
@MacDada
Copy link
ContributorAuthor

I rebased against 2.7 and squashed my commits into one.

@fabpot
Copy link
Member

Thank you@MacDada.

@fabpotfabpot merged commit90e192e intosymfony:2.7Jun 18, 2017
fabpot added a commit that referenced this pull requestJun 18, 2017
… option for NativeSessionStorage (MacDada)This PR was merged into the 2.7 branch.Discussion----------[FrameworkBundle] Sessions: configurable "use_strict_mode" option for NativeSessionStorage| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| License       | MITIt is currently not possible to configure the `use_strict_mode` option for `NativeSessionStorage` in a proper manner.The reason of this PR:#22352 (comment)It could be considered a new feature, but I wish it wouldn't, as I don't want to do any ugly hacking to get it working.What else could be done?* implement more options from `NativeSessionStorage` in the config?* get rid of duplication somehow (maybe a static method in `NativeSessionStorage` that would return the option list and could be used in `FrameworkExtension`?)* update `FrameworkExtensionTest`?* update `ConfigurationTest`?* update [the docs](https://symfony.com/doc/current/reference/configuration/framework.html#session)?I'm willing to do those if decided.Commits-------90e192e Sessions: configurable "use_strict_mode" option for NativeSessionStorage
This was referencedJul 3, 2017
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@xabbuhxabbuhxabbuh approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

2.7

Development

Successfully merging this pull request may close these issues.

5 participants

@MacDada@xabbuh@fabpot@nicolas-grekas@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp