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 "Daniele Depetrini (JIRA)" <se...@james.apache.org> on 2017/01/03 16:59:58 UTC

[jira] [Commented] (JSIEVE-107) Header matching doesn't work in case of folded or encoded header

    [ https://issues.apache.org/jira/browse/JSIEVE-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15795528#comment-15795528 ] 

Daniele Depetrini commented on JSIEVE-107:
------------------------------------------

I have a fix for this issue: I have already coded it and tested in my environment. Raised a pull request as well: https://github.com/apache/james-jsieve/pull/12

> Header matching doesn't work in case of folded or encoded header
> ----------------------------------------------------------------
>
>                 Key: JSIEVE-107
>                 URL: https://issues.apache.org/jira/browse/JSIEVE-107
>             Project: James jSieve
>          Issue Type: Bug
>          Components: Util
>    Affects Versions: 1.0
>            Reporter: Daniele Depetrini
>
> Any email header can be:
> - folded: so splitted into multiple line as per RFC 2822 section 2.2.3
> - encoded: Non-ASCII characters need special encoding process as per RFC 2047
> So jsieve library need to unfold + decode any header before any pattern matching attempt.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org