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/src/Symfony/Component/Validator
Fabien Potencier 26c84dd85f feature #17458 Add strict image validation (Koc)
This PR was merged into the 3.1-dev branch.

Discussion
----------

Add strict image validation

| Q             | A
| ------------- | ---
| Bug fix?      | yes (current validator does not validates corrupted images)
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | not, but fail looks like not relates to this PR
| Fixed tickets | -
| License       | MIT
| Doc PR        | -

getimagesize returns correct size for corrupted images, so I've added another check

Commits
-------

7b6a96e Add corrupted images validation
2016-03-31 09:41:07 +02:00
..
Constraints feature #17458 Add strict image validation (Koc) 2016-03-31 09:41:07 +02:00
Context Remove calls to non-existing method 2016-01-14 01:18:51 +01:00
Exception fixes CS 2015-08-24 09:13:45 +02:00
Mapping Merge branch '3.0' 2016-03-10 12:16:56 +01:00
Resources/translations Merge branch '2.7' into 2.8 2016-02-23 13:13:47 +01:00
Tests feature #17458 Add strict image validation (Koc) 2016-03-31 09:41:07 +02:00
Util [Validator] Property paths starting with 0 are broken. 2015-05-05 03:29:27 +02:00
Validator Remove unused imports 2016-01-21 00:01:55 +02:00
Violation [Validator] removed deprecated methods 2015-10-01 16:20:47 +02:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
CHANGELOG.md Added a format option to the DateTime constraint. 2016-02-15 20:32:35 -03:00
composer.json Merge branch '2.7' into 2.8 2016-03-10 11:53:53 +01:00
Constraint.php Merge branch '2.7' into 2.8 2016-03-23 14:11:46 +01:00
ConstraintValidator.php Merge branch '2.8' into 3.0 2016-03-16 17:19:48 +01:00
ConstraintValidatorFactory.php [Validator] remove obsolete context and PropertyAccess code 2016-02-06 08:05:29 +01:00
ConstraintValidatorFactoryInterface.php removed unneeded use statements 2014-01-01 08:52:14 +01:00
ConstraintValidatorInterface.php [Validator] removed deprecated methods 2015-10-01 16:20:47 +02:00
ConstraintViolation.php [Validator] removed deprecated methods 2015-10-01 16:20:47 +02:00
ConstraintViolationInterface.php Merge branch '2.7' into 2.8 2016-01-21 10:05:51 +01:00
ConstraintViolationList.php made {@inheritdoc} annotations consistent across the board 2014-04-16 09:04:20 +02:00
ConstraintViolationListInterface.php remove api tags from code 2015-09-28 19:11:22 +02:00
GroupSequenceProviderInterface.php fixed CS 2012-07-09 14:54:20 +02:00
LICENSE Update copyright year 2016-01-01 23:53:47 -03:00
ObjectInitializerInterface.php remove api tags from code 2015-09-28 19:11:22 +02:00
phpunit.xml.dist Add missing exclusions from phpunit.xml.dist 2015-11-18 09:19:46 +01:00
README.md Updated all the README files 2016-03-04 08:12:06 +01:00
Validation.php [Validator] fixed wrong php docs 2015-12-22 17:04:50 +01:00
ValidatorBuilder.php [Validator] remove obsolete context and PropertyAccess code 2016-02-06 08:05:29 +01:00
ValidatorBuilderInterface.php [Validator] fixed wrong php docs 2015-12-22 17:04:50 +01:00

Validator Component

The Validator component provides tools to validate values following the JSR-303 Bean Validation specification.

Resources