8000 [HttpKernel][Client] Set cookie fix by stloyd · Pull Request #2889 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[HttpKernel][Client] Set cookie fix #2889

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 17, 2011
Merged

Conversation

stloyd
Copy link
Contributor
@stloyd stloyd commented Dec 15, 2011

Bug fix: yes
Feature addition: no
Backwards compatibility break: no(?)
Symfony2 tests pass: yes
Fixes the following tickets: #2881

Only simple cookies can be stored in same line:

  • Used by now (wrong): Set-Cookie: name1=value, name2=value
  • Proper according to RFCs: Set-Cookie: name1=value; name2=value

So lets add every as standalone (next header) to be compliant with RFC6265. This fixes #2881.

…) cookies can be stored in same line, so lets add every as standalone to be compliant with rfc6265
fabpot added a commit that referenced this pull request Dec 17, 2011
Commits
-------

5c41ec9 [HttpKernel][Client] Only simple (name=value without any other params) cookies can be stored in same line, so lets add every as standalone to be compliant with rfc6265

Discussion
----------

[HttpKernel][Client] Set cookie fix

Bug fix: yes
Feature addition: no
Backwards compatibility break: no(?)
Symfony2 tests pass: yes
Fixes the following tickets: #2881

Only simple cookies can be stored in same line:

* Used by now (__wrong__): `Set-Cookie: name1=value, name2=value`
* Proper according to RFCs: `Set-Cookie: name1=value; name2=value`

So lets add every as standalone ([next header](http://tools.ietf.org/html/rfc6265#section-3.1)) to be compliant with [RFC6265](http://tools.ietf.org/html/rfc6265). This fixes #2881.
@fabpot fabpot merged commit 5c41ec9 into symfony:2.0 Dec 17, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0