SieveNode.getValue() should escape value
----------------------------------------
Key: JSIEVE-42
URL: https://issues.apache.org/jira/browse/JSIEVE-42
Project: JAMES jSieve
Issue Type: Improvement
Affects Versions: 0.2
Reporter: Boris Burtin
Priority: Minor
I noticed that SieveNode.getValue() returns the escaped version of the value,
with the extra quotes and backslashes. So for the following script:
# TestFilter testQuoteEscape
if anyof (header :contains "subject" "a \" b") {
fileinto "TestFilter testQuoteEscape";
}
getValue() returns
"a \" b"
as opposed to
a " b
It would be more intuitive and convenient if the framework to handled the
unescaping for me.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]