[Users] [Bug 4327] New: Rule Action 'Execute' - Message Elements passed have extra backslashes
noreply at thewildbeast.co.uk
noreply at thewildbeast.co.uk
Mon Mar 30 21:47:49 CEST 2020
https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4327
Bug ID: 4327
Summary: Rule Action 'Execute' - Message Elements passed have
extra backslashes
Product: Claws Mail (Windows)
Version: 3.17.4
Hardware: PC
OS: Windows 10
Status: NEW
Severity: normal
Priority: P3
Component: default
Assignee: users at lists.claws-mail.org
Reporter: chainsawuser at cfl.rr.com
For Rule Action 'Execute', the message elements passed have extra backslashes.
It looks like anything that is not a letter or number is escaped with '\'.
To test I created a Processing Rule on an individual folder with one message in
it, as shown below.
Name: Test
Condition: all
Action: execute "set \"test=%F\" & set test & pause"
I then changed symbol %F to %d, then to %s and the output for each is below.
The problem happens with every symbol.
--Filename--
%F output:
C\:\\Users\\Chainsaw\\Desktop\\Claws\ Mail\\ClawsLocalMailbox\\inbox\\1
Actual filename:
C:\Users\Chainsaw\Desktop\Claws Mail\ClawsLocalMailbox\inbox\1
--Date--
%d output:
Fri\,\ 27\ Mar\ 2020\ 08\:25\:01\ \-0400
Actual date:
Fri, 27 Mar 2020 08:25:01 -0400
--Subject--
%s output:
This\ is\ the\ Subject\ Line\.
Actual subject:
This is the Subject Line.
However, the 'Shell command' symbols used in an Action output perfectly.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Users
mailing list