james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniele Depetrini (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JSIEVE-107) Header matching doesn't work in case of folded or encoded header
Date Tue, 03 Jan 2017 16:50:58 GMT
Daniele Depetrini created JSIEVE-107:
----------------------------------------

             Summary: 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


Mime
View raw message