[
https://issues.apache.org/jira/browse/SYNCOPE-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18151902#comment-18151902
]
ASF subversion and git services commented on SYNCOPE-2017:
----------------------------------------------------------
Commit 659fcf32d074697db26a0506ea018d58e0253f45 in syncope's branch
refs/heads/4_2_X from Francesco Chicchiriccò
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=659fcf32d0 ]
[SYNCOPE-2017] Cleanup
> SCIM PATCH value-path filters are evaluated as JEXL expressions
> ---------------------------------------------------------------
>
> Key: SYNCOPE-2017
> URL: https://issues.apache.org/jira/browse/SYNCOPE-2017
> Project: Syncope
> Issue Type: Bug
> Components: extensions
> Reporter: Francesco Chicchiriccò
> Assignee: Francesco Chicchiriccò
> Priority: Major
> Labels: scim
> Fix For: 4.1.5, 4.2.0, 5.0.0
>
>
> SCIM PATCH operations containing a value-path filter, for example
> {{emails[type eq "work"].value}}, are translated into a JEXL expression by
> simple string replacement and evaluated on the request thread while the
> update request is being bound.
> The SCIM filter should be parsed and evaluated as a small, bounded comparison
> expression against the configured complex attributes instead.
> Proposed change: use a strict value-path filter parser/evaluator, reject
> unsupported filters during deserialization.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)