sergehuber opened a new pull request, #789: URL: https://github.com/apache/unomi/pull/789
## Summary - Backport the `ContextJsonEndpoint.sanitizeValue()` list fix from `unomi-3.0.x` ([#778](https://github.com/apache/unomi/pull/778)): return `newValues` instead of the original list so `script::` and `parameter::` entries are stripped from context filter payloads. - Add unit tests (`ContextJsonEndpointTest`) and an integration test (`ContextServletIT#testMVELVulnerabilityWithListPropertyValues`) covering list-based script injection in filter conditions. **Commits (intentionally split for cherry-pick):** 1. `d610b0004` — fix only (matches 3.0.x #778) 2. `a53a9cde5` — tests only (portable to `unomi-3.0.x` via `git cherry-pick a53a9cde5`) ## Test plan - [x] `mvn -pl rest test -Dtest=ContextJsonEndpointTest` - [ ] CI unit + integration tests (includes `testMVELVulnerabilityWithListPropertyValues`) -- 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]
