You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Robert Burrell Donkin (JIRA)" <se...@james.apache.org> on 2008/12/04 19:50:44 UTC

[jira] Updated: (JSIEVE-42) SieveNode.getValue() should escape value

     [ https://issues.apache.org/jira/browse/JSIEVE-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Burrell Donkin updated JSIEVE-42:
----------------------------------------

    Component/s: JSieve (Main)

> SieveNode.getValue() should escape value
> ----------------------------------------
>
>                 Key: JSIEVE-42
>                 URL: https://issues.apache.org/jira/browse/JSIEVE-42
>             Project: JAMES jSieve
>          Issue Type: Improvement
>          Components: JSieve (Main)
>    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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org