This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/tests/Symfony/Tests/Component
Fabien Potencier 43a6aa9db2 merged branch Seldaek/cookiefix (PR #2698)
Commits
-------

e06cea9 [HttpFoundation] Cookie values should not be restricted

Discussion
----------

[HttpFoundation] Cookie values should not be restricted

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes

The restriction I removed makes no sense IMO because we do not use setrawcookie() to send cookies. setrawcookie() does throw a warning when the cookie value contains incorrect characters, but not setcookie(). The latter will just urlencode() the value so it becomes valid. This is also what is done by `Cookie::__toString`, so this could be used in combination with header() to just send raw cookies that are valid, even with values that are invalid in their decoded form.

PHP urldecodes cookies on input, so it all works fine.
2011-12-07 16:37:58 +01:00
..
BrowserKit [BrowserKit] Added additional unit tests for capital letters in cookies 2011-10-14 20:31:31 +01:00
ClassLoader [ClassLoader] Fixed state when trait_exists doesn't exists 2011-09-25 19:25:50 +02:00
Config removed unused use statements 2011-11-24 07:16:14 +01:00
Console Another style fix. 2011-11-30 02:46:26 +05:00
CssSelector merged branch pscheit/master (PR #2742) 2011-12-01 08:46:19 +01:00
DependencyInjection Throw exceptions in case someone forgot to set method name in call. 2011-11-30 15:59:17 +01:00
DomCrawler Fixed GH-2720 - Fix disabled atrribute handling for radio form elements 2011-11-26 14:07:00 +00:00
EventDispatcher [EventDispatcher] Fix removeSubscriber() to work with priority syntax 2011-08-23 16:41:08 -04:00
Finder [Finder] added a convenience method Finder::create() 2011-06-14 14:18:24 +02:00
Form removed unused use statements 2011-11-24 07:16:14 +01:00
HttpFoundation [HttpFoundation] Cookie values should not be restricted 2011-11-23 11:38:46 +01:00
HttpKernel [HttpKernel] added unit tests for previous merge 2011-11-24 08:39:49 +01:00
Locale Set error code when number cannot be parsed. Fixes #2389 2011-10-30 22:02:16 +00:00
Process 1. Separated testing diacritic letters with additional check for mbstring in Symfony\Tests\Component\Console\Helper\FormatterHelperTest.php. 2011-11-30 02:22:13 +05:00
Routing removed unused use statements 2011-11-24 07:16:14 +01:00
Security removed unused use statements 2011-11-24 07:16:14 +01:00
Serializer Updated SerializerTest with "normalizeTraversable" & "testNormalizeGivesPriorityToInterfaceOverTraversable" 2011-11-07 19:25:58 -08:00
Templating removed unused use statements 2011-10-29 11:56:30 +02:00
Translation [Translation] added detection for circular references when adding a fallback catalogue 2011-11-11 08:29:16 +01:00
Validator [Validator] added some unit tests for previous merge 2011-12-07 16:27:15 +01:00
Yaml 1. Separated testing diacritic letters with additional check for mbstring in Symfony\Tests\Component\Console\Helper\FormatterHelperTest.php. 2011-11-30 02:22:13 +05:00