cfdocument, images with data URLs don't work in the body

Description

Inline, base64-encoded images work in `cfdocumentitem type="header"` (and `footer`), but do not appear when used in the body of a "classic" cfdocument.

Test case added here: https://github.com/lucee/extension-pdf/pull/19/commits/65042795b6b884428f97250f4b365abd1217c18f

Environment

Lucee 5.3.3 and 5.2.9
PDF Extension 1.0.0.94

Activity

Show:

Pothys - MitrahSoft 3 May 2021 at 10:49

Now base64 images with more than one space and tab works fine in both pdf engines on PDF extension version 1.0.0.96-SNAPSHOT. So I marked this ticket as deployed

https://github.com/lucee/extension-pdf/commit/35b671e446367203f453fab0e591578f106b34cc

Michael Offner 3 May 2021 at 09:36

please give PDF 1.0.0.96-SNAPSHOT a try

Pothys - MitrahSoft 30 April 2021 at 12:33
Edited

it works fine in pdf classic engine. But in the modern engine doesn't work with more than one spaces, and tab.
ex:-

Michael Offner 30 April 2021 at 11:25
Edited

please give it another try. this is the code i did use fir testing with all supported image types:

BTW it was not working when there was a space after “base64,“ i have fixed that…

Fixed

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 22 September 2020 at 15:05
Updated 3 May 2021 at 10:49
Resolved 3 May 2021 at 10:49