wiki.techinc.nl/tests/phpunit/includes/media
Tim Starling 2e507003ca Ignore invalid chunks in PNG files, instead of aborting metadata extraction
* Factor out file read errors and unexpected EOF errors.
* For errors relating to chunk content, instead of throwing an
  exception which is silently discarded, just log an error and continue
  to the next chunk. This allows the dimensions to be extracted even if
  other metadata is mangled.
* As an additional sanity check, verify the CRC of each chunk.

Bug: T286273
Change-Id: I11d0186496324e0bb1bb0a143f438e0368a8e902
2021-07-13 11:11:03 +10:00
..
BitmapMetadataHandlerTest.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
BitmapScalingTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
DjVuTest.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
ExifBitmapTest.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
ExifRotationTest.php Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
ExifTest.php MediaWikiTestCase to MediaWikiIntegrationTestCase 2020-06-30 17:02:22 +01:00
FakeDimensionFile.php
FormatMetadataTest.php Remove broken/outdated @param/@throws tags from @dataProviders 2021-01-21 03:42:42 +00:00
GIFHandlerTest.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
Jpeg2000HandlerTest.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
JpegMetadataExtractorTest.php Make use of PHPUnit's assertCount feature where possible 2020-03-02 15:58:41 +00:00
JpegPixelFormatTest.php Add missing @param and @return to documentation in tests 2021-01-22 19:57:25 +01:00
JpegTest.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
MediaHandlerIntegrationTest.php Provide mechanism for MediaHandlers to override metadata formatting 2020-10-30 11:50:08 -04:00
MediaWikiMediaTestCase.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
PNGHandlerTest.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
PNGMetadataExtractorTest.php Ignore invalid chunks in PNG files, instead of aborting metadata extraction 2021-07-13 11:11:03 +10:00
SvgHandlerTest.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
SVGReaderTest.php Add public as visibility in tests folder 2019-10-10 21:55:37 +02:00
TiffTest.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
WebPHandlerTest.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00
XCFHandlerTest.php Use the unserialized form of image metadata internally 2021-06-08 17:04:01 +10:00