[
https://issues.apache.org/jira/browse/UNOMI-463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Serge Huber resolved UNOMI-463.
-------------------------------
Fix Version/s: 1.5.5
Resolution: Fixed
> Add bean validation
> -------------------
>
> Key: UNOMI-463
> URL: https://issues.apache.org/jira/browse/UNOMI-463
> Project: Apache Unomi
> Issue Type: Improvement
> Reporter: Jonathan Sinovassin
> Priority: Major
> Fix For: 1.5.5
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> Add bean validation to validate the parameters which are sent through the
> rest API of Unomi.
> Limit the authorised characters for the string parameters and in the cookies
> to avoid injection.
> Check the null condition with the annotations when it's possible.
>
> When a parameter or a cookie is invalid, an error 400 with the message
> "Invalid received data" should be raised.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)