First Last Prev Next    No search results available
Details
: %file% falsely creates "The Variable %5C.. can not be use...
Bug#: 26526
: smarttemplate4
: General
Status: RESOLVED
Resolution: FIXED
: PC
: Windows NT
: unspecified
: P2
: major
: ---

:
:
:
:
:
  Show dependency tree - Show dependency graph
People
Reporter: Axel Grude <axel.grude@gmail.com>
Assigned To: Axel Grude <axel.grude@gmail.com>

Attachments
1.5.2 prerelease 14 (474.12 KB, application/x-xpinstall)
2018-05-09 07:48, Axel Grude
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.

Related actions


Description:   Opened: 2018-05-09 07:16
%file% falsely creates "The Variable %5C.. can not be used for new messages"
when including images in a NEW Email.
------- Comment #1 From Axel Grude 2018-05-09 07:18:27 -------
This is caused by unnecessarily checking the <img> tag using the
getProcessedText() function which is designed to parse an included HTML file
for more ST4 variables %file(xxx,html)%. This is obviously nonsense when
looking at a %file(xxx,img)% variable.
------- Comment #2 From Axel Grude 2018-05-09 07:48:01 -------
Created an attachment (id=8449) [details]
1.5.2 prerelease 14

Added quick bugfix. The bug should not affect users of Linux / OSX because file
path does not contain the "\" character which will be HTML encoded during
replacing the Data URI to make the image safe for Thunderbird 57.

This had to be done because of the changes of making external content "safe" in
the editor.
------- Comment #3 From Axel Grude 2018-05-09 07:55:54 -------
(In reply to comment #1)
> This is caused by unnecessarily checking the <img> tag using the
> getProcessedText() function which is designed to parse an included HTML file
> for more ST4 variables %file(xxx,html)%. This is obviously nonsense when
> looking at a %file(xxx,img)% variable.
> 

just to unconfuse stuff, the variable syntax for %file% is:

%file(filePath,encoding)%  for html & txt files

%file(imagePath,altText)%  for images
------- Comment #4 From Axel Grude 2019-07-28 07:12:03 -------
Resolved fixed in Version 2.0 - 23/12/2018

First Last Prev Next    No search results available