[
https://issues.apache.org/jira/browse/JAMES-4247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18152023#comment-18152023
]
Benoit Tellier commented on JAMES-4247:
---------------------------------------
Hello,
Good catch!
Do you want to contribute this JMAP-spec hardening? PR welcomed!
Best regards,
Benoit
> JMAP Email/get: a forbidden header form is answered with null
> -------------------------------------------------------------
>
> Key: JAMES-4247
> URL: https://issues.apache.org/jira/browse/JAMES-4247
> Project: James Server
> Issue Type: Bug
> Components: JMAP
> Reporter: Seke Kazuru
> Assignee: Antoine Duprat
> Priority: Major
>
> Hi,
> RFC 8621 section 4.1.2: "Attempting to fetch a form that is forbidden (e.g.,
> \{{header:From:asDate}}) MUST result in the method call being rejected with
> an \{{invalidArguments}} error."
> {\{Email/get}} with \{{properties: ["header:From:asDate"]}} returns the email
> with \{{"header:From:asDate": null}}. Expected: \{{invalidArguments}}.
> James 3.9.1, memory image (\{{apache/james:memory-3.9.1}}), default
> configuration, one user. JMAP requests POSTed to \{{/jmap}} with core and
> mail capabilities.
> Thanks.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]