Rémi Kowalski created JAMES-2964:
------------------------------------

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


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]

Reply via email to