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 "Rémi Kowalski (Jira)" <se...@james.apache.org> on 2019/11/19 08:15:00 UTC

[jira] [Closed] (JAMES-2964) Able to create User quota/ Domain quota/ Global quota using negative number

     [ https://issues.apache.org/jira/browse/JAMES-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rémi Kowalski closed JAMES-2964.
--------------------------------
    Fix Version/s: 3.5.0
       Resolution: Fixed

> 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
>             Fix For: 3.5.0
>
>
> 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org