[
https://issues.apache.org/jira/browse/JAMES-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16977076#comment-16977076
]
Benoit Tellier commented on JAMES-2964:
---------------------------------------
https://github.com/linagora/james-project/pull/2824 solved this.
> Able to create User quota/ Domain quota/ Global quota using negative number
> ---------------------------------------------------------------------------
>
> Key: JAMES-2964
> URL: https://issues.apache.org/jira/browse/JAMES-2964
> Project: James Server
> Issue Type: Bug
> Affects Versions: 3.4.0
> Reporter: Rémi Kowalski
> Priority: Major
>
> Description
> Able to create User quota/ Domain quota/ Global quota using negative number
> Example to create Global quota using negative number (ex: -2)
> Request:
> PUT http://localhost:8000/quota
> Body: \{"count":-2,"size":-2}
> Return: 204 code
> Result:
> {
> "count": -2,
> "size": -2
> }
> Expected result
> It should return 400 error code when using negative number, except the
> unlimited value (-1)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]