Review 11.5 Merged

74116[BUGFIX] Ensure imageLinkWrap works with UTF-8 filenames

Christian Kuhn CR +2 V +2 Easy +2 −1 updated 03/29/22, 10:43

Commit message

The unset($info['originalFile']) introduced in #90565
broke an access to that array key below in the method.
This leads to the situation that files with UTF-8
characters are not found anymore since the imageLinkWrap()
method is fed with an encoded version of the filename
and not the original file object anymore.
The patch parks $info['originalFile'] in a variable
to access it for imageLinkWrap() again.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 3

Files 1