Aurélien Fredouelle
1e50a553d2
[HttpFoundation] Fixed charset always being set to UTF-8
...
Fixes #1281
2011-06-11 10:22:26 +02:00
Fabien Potencier
09ee01501d
Merge remote branch 'lmcd/master'
...
* lmcd/master:
Added an optimisation for PHP-FPM (FastCGI Process Manager). As soon as a full Response is dispatched to the browser, the HTTP connection is closed, but the script stays alive on FPM servers.
2011-06-10 15:52:35 +02:00
Brikou CARRE
896c294b58
[HttpFoundation] added phpdoc + exception fix
2011-06-10 08:59:49 +02:00
Lee McDermott
7e89a6ad41
Added an optimisation for PHP-FPM (FastCGI Process Manager).
...
As soon as a full Response is dispatched to the browser, the HTTP connection is closed, but the script stays alive on FPM servers.
2011-06-09 19:11:02 +01:00
Fabien Potencier
852a4c9c6a
[Form] removed the file upload temporary storage feature
...
The current implementation is not ready for inclusion in 2.0. It has several
known problems (security, not possible to disable it, not "cloud-compatible",
...) and it's not a must have feature anyway.
Some references:
* Security issue in FileType: https://github.com/symfony/symfony/issues/1001
* Validation fails on file, still stored in TemporaryStorage: https://github.com/symfony/symfony/issues/908
* Add a size argument & ability to configure TemporaryStorage: https://github.com/symfony/symfony/pull/748
This feature should be reworked and discussed for inclusion in 2.1.
2011-06-09 12:44:36 +02:00
Fabien Potencier
1e8cd6d34d
[HttpFoundation] removed the leading . for extensions
2011-06-09 12:42:42 +02:00
Fabien Potencier
1aabc5da64
fixed CS
2011-06-08 12:16:48 +02:00
Fabien Potencier
62e4342a86
fixed CS
2011-06-08 12:12:55 +02:00
Fabien Potencier
0af4743583
[HttpFoundation] fixed Request::getFormat() when the mime-type has some optional parameter ( closes #1235 )
2011-06-08 11:12:57 +02:00
Fabien Potencier
f16e206cd7
[HttpFoundation] added missing CONTENT_TYPE and CONTENT_LENGTH to the Request headers (these two headers are not prefixes with HTTP_ -- as per the CGI/1.1 spec, closes #1234 )
2011-06-08 11:04:41 +02:00
Fabien Potencier
9118fcee14
[HttpFoundation] fixed CS
2011-06-08 10:35:47 +02:00
Fabien Potencier
cb3390e9ae
Merge remote branch 'gordonslondon/http-foundation/response'
...
* gordonslondon/http-foundation/response:
[HttpFoundation] merge Response::isRedirected() with Response::isRedirect() - Response::isRedirected() has been removed
2011-06-06 18:06:51 +02:00
Fabien Potencier
c561f4f0c0
[Routing] changed HTTP method to always be uppercased (to be consistent with HttpFoundation/Request)
2011-06-04 19:06:39 +02:00
Fabien Potencier
4f7484b946
[HttpFoundation] moved dir creation just before writing to disk
2011-05-30 14:59:02 +02:00
GordonsLondon
ef9dc7c623
[HttpFoundation] merge Response::isRedirected() with Response::isRedirect() - Response::isRedirected() has been removed
2011-05-29 15:34:02 +02:00
Johannes M. Schmitt
88becfe3f8
[HttpFoundation] allow locale in RequestMatcher path
2011-05-28 22:37:43 +02:00
Fabien Potencier
4de930b000
[HttpFoundation] added some phpdoc
2011-05-27 07:55:37 +02:00
Fabien Potencier
c19d6c07d2
[HttpFoundation] simplified code
2011-05-26 15:02:40 +02:00
Joshua Nye
3832a7a33d
Added missing space.
2011-05-25 17:22:32 -04:00
Joshua Nye
f019541716
Fixed broken logic in Request::getHttpHost(). It was ignoring HTTP_HOST completely.
2011-05-25 16:02:16 -04:00
Fabien Potencier
68aa0f46a4
Merge remote branch 'jdhoek/master'
...
* jdhoek/master:
Add missing {} around @inheritDoc to fix this class in SF beta2.
Add missing {} around @inheritDoc to fix this class in SF beta2.
2011-05-24 09:53:18 +02:00
jdhoek
67cace5d21
Add missing {} around @inheritDoc to fix this class in SF beta2.
2011-05-24 00:40:39 -07:00
jdhoek
c6172e0f96
Add {} around @inheritDoc annotation to fix this class in SF beta2
2011-05-24 00:29:42 -07:00
Brikou CARRE
9908d51da8
removed docblock for isNoCache
2011-05-23 01:37:10 -07:00
Brikou CARRE
2648ff273e
fixed the description of isNoCache method
2011-05-23 09:35:41 +02:00
Brikou CARRE
12bf94c7ff
fixed description for isNoCache method
2011-05-23 08:44:08 +02:00
Brikou CARRE
e018e6ce44
added missing method's docblock
2011-05-22 09:13:03 +02:00
Fabien Potencier
b042366353
Merge remote branch 'stfalcon/patch-2'
...
* stfalcon/patch-2:
Small refact. Without this I get a php Notice and Warnig if try getFlash() after clearing the session:
2011-05-22 08:08:28 +02:00
Kris Wallsmith
fc5992495f
[HttpFoundation] updated session to only save on destruct if started
2011-05-19 11:47:21 -07:00
Kris Wallsmith
ed8ecab7ea
[HttpFoundation] fixed locale accessor after session clear
2011-05-19 11:45:12 -07:00
Kris Wallsmith
a538344b3b
[HttpFoundation] removed unnecessary method
2011-05-19 11:44:15 -07:00
Fabien Potencier
9714524b39
fixed a unit test and CS
2011-05-19 17:38:16 +02:00
jsor
fd6c254b47
[HttpFoundation] changed checking for deleted cookie to be conform with setcookie()
2011-05-19 17:14:03 +02:00
jsor
fc1a8cac35
[HttpFoundation] allow negative values for cookies expires timestamp
2011-05-19 17:14:02 +02:00
jsor
f9b6c8b74a
[HttpFoundation] included cookie headers in string representation
2011-05-19 17:14:01 +02:00
jsor
e6d929aa71
[HttpFoundation] added __toString() method
2011-05-19 17:13:58 +02:00
Miha Vrhovnik
2e286073a4
Removed ability to override method from GET request
2011-05-19 14:08:34 +02:00
Miha Vrhovnik
65ed6f7763
Added support for request method overriding via X-HTTP-Method-Override
...
This type of override is supported by MS MVC3 and is recommended by Google.
Also added ability to override request method via ?_method= when
request is made via GET.
2011-05-19 09:33:08 +02:00
Fabien Potencier
a965a5ce32
Merge remote branch 'kertz/PdoSessionStorage_mysql'
...
* kertz/PdoSessionStorage_mysql:
[PdoSessionStorage] Added insert... on duplicate
2011-05-17 17:55:41 +02:00
Fabien Potencier
e7e5304876
forced all responses to have a Date header (RFC2616 - 14.18)
2011-05-16 08:46:36 +02:00
Fabien Potencier
5a38886b1d
[HttpFoundation] fixed Request::getHttpHost()
2011-05-16 08:20:17 +02:00
Fabien Potencier
28f9b4f13e
[HttpFoundation] force headers to be sorted in HeaderBag::__toString()
2011-05-15 22:40:14 +02:00
Fabien Potencier
4c7adc2f12
[HttpFoundation] fixed a warning
2011-05-15 19:44:34 +02:00
Fabien Potencier
11fa8d8698
[HttpFoundation] tweaked HeaderBag::__toString() to ease debugging
2011-05-15 12:43:05 +02:00
Fabien Potencier
e81b88c576
[HttpFoundation] added HeaderBag::__toString()
2011-05-15 12:38:12 +02:00
Fabien Potencier
dcb4ef6e23
[HttpFoundation] added Request::__toString()
2011-05-15 12:33:06 +02:00
Amal Raghav
ebc2f01e5b
[PdoSessionStorage] Added insert... on duplicate
2011-05-15 15:48:29 +05:30
Fabien Potencier
62d09b8fb2
[HttpFoundation] ensures that path info always starts with a /
2011-05-15 11:28:38 +02:00
Stepan Tanasiychuk
c6206f8faf
Small refact. Without this I get a php Notice and Warnig if try getFlash() after clearing the session:
...
Notice: Undefined index: _flash in /var/www/test/symfony2/vendors/symfony/src/Symfony/Component/HttpFoundation/Session.php on line 231
Warning: array_key_exists() expects parameter 2 to be array, null given in /var/www/test/symfony2/vendors/symfony/src/Symfony/Component/HttpFoundation/Session.php on line 231
2011-05-14 14:23:14 -07:00
Amal Raghav
4fa0c4c3ea
some cosmetic changes to PdoSessionStorage
...
aligned line 210
2011-05-14 23:45:13 +05:30