History log of /dokuwiki/inc/JpegMeta.php (Results 1 – 25 of 51)
Revision Date Author Comments
# 45717242 03-Jul-2026 Andreas Gohr <andi@splitbrain.org>

Skip JPEG markers too short to hold the probed signature

_parseMarkerXmp() and the other signature-probing loops read a
fixed-length signature from every marker of a given type to identify it.
Since

Skip JPEG markers too short to hold the probed signature

_parseMarkerXmp() and the other signature-probing loops read a
fixed-length signature from every marker of a given type to identify it.
Since _getFixedString() throws on a short read, a valid but short APP1
segment (e.g. a 22-byte non-XMP APP1) made the XMP probe throw while
reading 29 bytes. That was logged as a damaged image and aborted the
marker loop, discarding any real XMP/EXIF segment that followed.

The issue was introduced in c9c56f8a0.

This is another symptom fix until the library is replaced as discussed
in #1970

Skip markers too short to contain the signature so probing continues
instead of failing. Fixes #4526.

show more ...


# baea39e3 03-Jul-2026 Andreas Gohr <andi@splitbrain.org>

Handle array EXIF date values

This is a fix for a warning thrown by the EXIF library. It fixes a
specific symptom without addressing the actual issue of the library
being outdated and in need of rep

Handle array EXIF date values

This is a fix for a warning thrown by the EXIF library. It fixes a
specific symptom without addressing the actual issue of the library
being outdated and in need of replacement (as discussed in #1970)

fixes #4628

Co-authored by Zheyon <110686204+Zhey-on@users.noreply.github.com>

show more ...


# 6c16a3a9 14-Sep-2023 fiwswe <fiwswe@fwml.de>

Use str_starts_with/str_ends_with


# d40e7d0e 11-Mar-2023 Andreas Gohr <andi@splitbrain.org>

JPEGMeta: clean up exception handling

use ErrorHandler::logException() to automatically log a stack trace


# c9c56f8a 09-Mar-2023 asivery <asivery@protonmail.com>

Fix: Rework error handling in JpegMeta marker reading


# 36fb33ce 27-Feb-2023 asivery <asivery@protonmail.com>

Fix: Padding in _getFixedString, log the path of damaged images


# e3b89425 27-Feb-2023 asivery <asivery@protonmail.com>

Fix: PHP8-related JpegMeta.php fixes


# f1892550 13-Feb-2023 Stephan Bauer <stephan_bauer@gmx.de>

Change date fields to correct ones


# bbdbbeb8 26-Jan-2021 Damien Regad <dregad@mantisbt.org>

Fix warning when displaying PDF in Media manager

Trying to access array offset on value of type bool in
.../inc/JpegMeta.php on line 1322


# 2401f18d 30-Oct-2019 Syntaxseed <825423+syntaxseed@users.noreply.github.com>

Fix curly brace syntax. PHP 7.3 deprecations in inc/ directory.


# c0c77cd2 10-Oct-2019 Andreas Gohr <gohr@cosmocode.de>

Merge branch 'master' into psr2

changes from commit b15f23f6735eabb6dc7e4a996e4ae164139ab7f5 may have
been lost, because the code changed to much.

changes from commit df81ca99eeaf4753d6f09cbddbb529

Merge branch 'master' into psr2

changes from commit b15f23f6735eabb6dc7e4a996e4ae164139ab7f5 may have
been lost, because the code changed to much.

changes from commit df81ca99eeaf4753d6f09cbddbb529afe7ef71c7 need to be
verified. we might need to do some more adjustments.

* master: (49 commits)
translation update
translation update
translation update
translation update
translation update
translation update
translation update
Update config.class.php
translation update
translation update
Update lang.php
Add ugc hint to nofollow
add UGC hint
translation update
translation update
use a script to fetch the correct phpunit
Revert "output travis php version for easier debugging"
setup databases for unit tests in travis
output travis php version for easier debugging
translation update
...

show more ...


# 8cbc5ee8 10-Jun-2019 Andreas Gohr <andi@splitbrain.org>

replaced deprecated utf8 functions

For now this uses full qualified namespaces, sensible imports may come
later.


# 5d00293d 04-Jun-2019 Michael Aschauer <m@ash.to>

Fix/Harmonize inconsistent Tag names that lead to reporting wrong dates.


# dd5c3e2b 20-Dec-2017 Phy <git@phy25.com>

remove deprecated each calls in libraries


# 9e491c01 12-May-2017 Andreas Gohr <andi@splitbrain.org>

replaced some more each calls

There are still some left in the DifferenceEngine code


# f50a239b 31-Mar-2017 Takamura <plehanov.v@gmail.com>

I supplemented the existing comments on the methods in which there was not enough information to the standard phpDoc.


# 59752844 14-Jun-2016 Anders Sandblad <runeson@gmail.com>

Fixed broken links to php.net and redirecting pages to php.net


# 5c3b310d 15-May-2015 Christopher Smith <chris@jalakai.co.uk>

more class constructors to __construct()


# 276820f7 10-Jan-2015 Scrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>

Scrutinizer Auto-Fixes

This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com


# 79e79377 07-Jan-2015 Andreas Gohr <gohr@cosmocode.de>

Remove error supression for file_exists()

In an older version of PHP a file_exists() call would issue a warning
when the file did not exist. This was fixed in later PHP releases. Since
we require PH

Remove error supression for file_exists()

In an older version of PHP a file_exists() call would issue a warning
when the file did not exist. This was fixed in later PHP releases. Since
we require PHP 5.3 now, there's no need to supress any error here
anymore. This might even give a minor performance boost.

show more ...


# 42ea7f44 01-Oct-2014 Gerrit Uitslag <klapinklapin@gmail.com>

Many PHPDocs, some unused and dyn declared vars

many PHPDocs
some unused variables
some dynamically declared variables declared


# 59bc3b48 29-Sep-2014 Gerrit Uitslag <klapinklapin@gmail.com>

more scrutinizer issue improvements


# 17dd401e 05-Mar-2014 Christopher Smith <chris@jalakai.co.uk>

fix return by reference not a var


# 8c404966 20-Oct-2013 Andreas Gohr <andi@splitbrain.org>

Merge pull request #381 from splitbrain/jpegmetafixes

Jpegmeta fixes


# f5891fa4 16-Oct-2013 Gerrit Uitslag <klapinklapin@gmail.com>

fix some Only vars assigned by reference


123