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

[HttpFoundation] Compare cookie with null value as empty string in ResponseCookieValueSame#48112

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

Conversation

@fancyweb
Copy link
Contributor

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
Tickets#48105
LicenseMIT
Doc PR-

We already considernull as'' when we "compute" the cookie:

if ('' === (string)$this->getValue()) {

So in the related issue,self::assertResponseCookieValueSame('SOME_COOKIE_NAME', ''); could be used. WDYT@werwolf666?

@werwolf666
Copy link

Good decision. Thank you.

@nicolas-grekas
Copy link
Member

Thank you@fancyweb.

@nicolas-grekasnicolas-grekas merged commit1ee474f intosymfony:4.4Nov 5, 2022
@fabpotfabpot mentioned this pull requestNov 19, 2022
This was referencedNov 28, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@stofstofstof approved these changes

+1 more reviewer

@maxbeckersmaxbeckersmaxbeckers approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

6 participants

@fancyweb@werwolf666@nicolas-grekas@stof@maxbeckers@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp