Review main Abandoned

52697[BUGFIX] Do not render broken <img> tag if processed file is not an image

Andreas Kienast CR 0 V 0 Easy +47 −1 updated 07/11/17, 10:49

Commit message

If <f:image> is used with a file object that originates from a file that
can’t be converted to an image (e.g. a word document), an empty <img> tag
is rendered.

The file extension of the processed “image” is now checked against
`GFX/imagefile_ext` and in case the file extension does not match,
an empty string is returned instead.

Review

  • Code review CR 0

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

  • Verified V 0

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

Issues 1

Files 2