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

Fixed Request::__toString ignoring cookies#25799

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

Closed
Toflar wants to merge2 commits intosymfony:2.7fromToflar:fix-request-tostring

Conversation

@Toflar
Copy link
Contributor

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

Request::__toString() ignored cookie values which caused me some headaches during a debugging session 😄

Copy link
Contributor

@phansysphansys left a comment

Choose a reason for hiding this comment

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

Status: Needs work.

$cookies[] =$k.'='.$v;
}

if (0 !==count($cookies)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Please, use!empty() instead.

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Ah, I like type safety but fixed :-)

phansys reacted with thumbs up emoji
@fabpot
Copy link
Member

Thank you@Toflar.

@fabpotfabpot closed thisJan 16, 2018
fabpot added a commit that referenced this pull requestJan 16, 2018
This PR was squashed before being merged into the 2.7 branch (closes#25799).Discussion----------Fixed Request::__toString ignoring cookies| Q             | A| ------------- | ---| Branch?       | 2.7| Bug fix?      | yes| New feature?  | no| BC breaks?    | no| Deprecations? | no| Tests pass?   | yes| Fixed tickets || License       | MIT| Doc PR        |`Request::__toString()` ignored cookie values which caused me some headaches during a debugging session 😄Commits-------0f79d09 Fixed Request::__toString ignoring cookies
@ToflarToflar deleted the fix-request-tostring branchJanuary 16, 2018 07:25
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@dunglasdunglasdunglas approved these changes

@stofstofstof approved these changes

+1 more reviewer

@phansysphansysphansys approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

6 participants

@Toflar@fabpot@dunglas@stof@phansys@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp