[
https://issues.apache.org/jira/browse/SYNCOPE-2017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18151553#comment-18151553
]
ASF subversion and git services commented on SYNCOPE-2017:
----------------------------------------------------------
Commit c90eda22db39398c73b3581304b0c6ba97c34b40 in syncope's branch
refs/heads/4_1_X from Francesco Chicchiriccò
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=c90eda22db ]
[SYNCOPE-2017] Evaluate SCIM PATCH value-path filters without JEXL
> 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)