[
https://issues.apache.org/jira/browse/ATLAS-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17400167#comment-17400167
]
Shraddha Kapilsingh Pardeshi commented on ATLAS-2328:
-----------------------------------------------------
This is expected behaviour because the SearchParameter object would be from
starting curly braces "\{"to end curly braces "}" and parsing stops at the
closing braces in serialisation. So if we write anything after curly braces it
ignores that part and accept as valid json.
> Regression : Request body with invalid JSON gets accepted by Atlas
> ------------------------------------------------------------------
>
> Key: ATLAS-2328
> URL: https://issues.apache.org/jira/browse/ATLAS-2328
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core
> Reporter: Sharmadha S
> Priority: Minor
>
> {code}
> {
> "tagFilters": null,
> "classification": "*",
> "entityFilters": null,
> "excludeDeletedEntities": true,
> "typeName": "hdfs_path",
> "limit": 100,
> "offset": 0,
> "includeClassificationAttributes": false,
> "attributes": []
> }}
> {code}
> s a wrong JSON with extra braces at the end.
> Atlas accepts such JSONs and returns 20X code.
> Options
--
This message was sent by Atlassian Jira
(v8.3.4#803005)