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

also clean away the NO_AUTO_CACHE_CONTROL_HEADER if we have no session#28960

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:4.1fromdbu:patch-2
Oct 24, 2018

Conversation

@dbu
Copy link
Contributor

@dbudbu commentedOct 23, 2018

QA
Branch?4.1 (feature added in this branch)
Bug fix?yes
New feature?no
BC breaks?no
Deprecations?no
Tests pass?yes
Fixed tickets-
LicenseMIT
Doc PR-

This header is not supposed to ever be exposed to clients of the application, but a hack to transfer information within the symfony application. This bugfix makes it so that we also remove the header when no session is started and thus no decision has to be taken whether to overwrite the caching instructions or not.

@nicolas-grekas
Copy link
Member

Nice. Would it possible to cover this by a test case?

@dbu
Copy link
ContributorAuthor

dbu commentedOct 23, 2018

good point with the tests. did need to move getting the request up... i think its ok to expand on the existing test and make it do a bit more, rather than create a separate test. okay like this?

Copy link
Member

@nicolas-grekasnicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

OK for me, thanks!

@fabpot
Copy link
Member

Thank you@dbu.

@fabpotfabpot merged commit28d9f0c intosymfony:4.1Oct 24, 2018
fabpot added a commit that referenced this pull requestOct 24, 2018
…e no session (dbu)This PR was merged into the 4.1 branch.Discussion----------also clean away the NO_AUTO_CACHE_CONTROL_HEADER if we have no session| Q             | A| ------------- | ---| Branch?       | 4.1 (feature added in this branch)| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets | -| License       | MIT| Doc PR        | -This header is not supposed to ever be exposed to clients of the application, but a hack to transfer information within the symfony application. This bugfix makes it so that we also remove the header when no session is started and thus no decision has to be taken whether to overwrite the caching instructions or not.Commits-------28d9f0c also clean away the NO_AUTO_CACHE_CONTROL_HEADER if we have no session
@fabpotfabpot mentioned this pull requestNov 3, 2018
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@nicolas-grekasnicolas-grekasnicolas-grekas approved these changes

+1 more reviewer

@dmaicherdmaicherdmaicher approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.1

Development

Successfully merging this pull request may close these issues.

5 participants

@dbu@nicolas-grekas@fabpot@dmaicher@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp