Seke Kazuru created JAMES-4244:
----------------------------------
Summary: JMAP: argument given in both normal and referenced form
is accepted
Key: JAMES-4244
URL: https://issues.apache.org/jira/browse/JAMES-4244
Project: James Server
Issue Type: Bug
Components: JMAP
Reporter: Seke Kazuru
Assignee: Antoine Duprat
Hi,
RFC 8620 section 3.7: "If an arguments object contains the same argument name
in normal and referenced form (e.g., "foo" and "#foo"), the method MUST return
an \{{invalidArguments}} error."
{\{Mailbox/get}} with both \{{"ids": []}} and \{{"#ids": {"resultOf": "c0",
"name": "Mailbox/get", "path": "/list/*/id"}}} returns a normal response.
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]