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 d49eaa6a41 merged branch vicb/kernel/client-ini-max-size (PR #1544)
Commits
-------

3df5ec3 [HttpKernel] Add support for 'upload_max_filesize' ini directive in the Client

Discussion
----------

[HttpKernel] Add support for 'upload_max_filesize' ini directive

[HttpKernel] Add support for 'upload_max_filesize' ini directive in the Client

__This PR depends on #1542__

This PR prevent the SW Client from uploading files larger than the limit set in php.ini to closer mimic a real browser usage.

If both PR eventually gets merge `static protected function getMaxUploadFilesize()` should probably be factorized to the UploadedFile class.

---------------------------------------------------------------------------

by stloyd at 2011/07/05 13:35:06 -0700

+1 for both, I just have found similar "wtf" issues with "empty" `upload_max_filesize`.

---------------------------------------------------------------------------

by oscarballadares at 2011/07/05 15:13:23 -0700

I have opened an issue related to UPLOAD_ERR_INI_SIZE. There was no way to handle this exception.
Can you confirm please?

 If this is the case I will close the issue I opened.

---------------------------------------------------------------------------

by vicb at 2011/07/05 23:04:08 -0700

@oscarballadares the PR you are looking for is most probably #1542 - which you should see in the message thread of your submitted issue.

The best would be for you to verify that PR #1542 fixes your issue and provide some feedback so that the issue can be close but only when the PR gets merged (if it fixes the issue).
2011-07-06 14:22:28 +02:00
..
BrowserKit fixed CS 2011-06-08 19:56:59 +02:00
ClassLoader fixed CS 2011-06-08 19:56:59 +02:00
Config [Config] fixed a unit test 2011-07-01 10:15:26 +02:00
Console fixed unit tests 2011-07-04 21:33:54 +02:00
CssSelector UnitTest 2011-06-29 18:22:32 +02:00
DependencyInjection [DependencyInjection] removed injection for protected and private properties 2011-06-27 08:28:54 +02:00
DomCrawler [DomCrawler] fixed Link::getUri() method for anchors 2011-06-23 08:20:13 +02:00
EventDispatcher Add missing "tearDown" functions, and some missing variable declaration (this saves for me almost 20MB when run all tests) 2011-06-16 15:06:36 +02:00
Finder [Finder] added a convenience method Finder::create() 2011-06-14 14:18:24 +02:00
Form Fix permissions 2011-07-05 15:39:05 +02:00
HttpFoundation merged branch vicb/form/ini-max-size (PR #1542) 2011-07-06 14:22:15 +02:00
HttpKernel [HttpKernel] Add support for 'upload_max_filesize' ini directive in the Client 2011-07-05 22:01:06 +02:00
Locale merged branch stealth35/master (PR #1346) 2011-06-16 15:07:27 +02:00
Process fixed CS 2011-06-23 13:39:36 +02:00
Routing [Routing] Fix syntax error when dumping routes with single quotes in the requirements or pattern 2011-06-29 03:40:17 +02:00
Security [Security] removed a hack 2011-07-05 11:00:08 +02:00
Serializer fix tests 2011-06-10 01:11:51 +02:00
Templating fixed CS 2011-06-23 13:39:36 +02:00
Translation fixed CS 2011-06-08 19:56:59 +02:00
Validator [Validator] Consider the ini directive 'upload_max_filesize' while validating an uploaded file (fixes GH-1441) 2011-07-05 20:05:50 +02:00
Yaml Add missing "tearDown" functions, and some missing variable declaration (this saves for me almost 20MB when run all tests) 2011-06-16 15:06:36 +02:00