sergehuber opened a new pull request, #954: URL: https://github.com/apache/unomi/pull/954
## Summary - HTTP GET may execute GraphQL **query** operations only (405 otherwise, including unparsable documents). - HTTP POST requires `Content-Type: application/json` (415 otherwise) so simple cross-site form posts cannot change state. - Brief manual and threat-model notes. Stacked on #953 (`bound-graphql-query-limits`), which itself stacks on #952. ## Test plan - [x] `mvn -pl graphql/cxs-impl test -Dtest=GraphQLServletReadOnlyOperationTest,GraphQLServletTest,GraphQLServletSecurityValidatorTest,GraphQLRequestLimitsTest` - [ ] Confirm GraphiQL introspection still works over GET/POST - [ ] Confirm a mutation over GET returns 405 - [ ] Confirm a POST without `application/json` returns 415 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
