[ 
https://issues.apache.org/jira/browse/NIFI-4407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16545627#comment-16545627
 ] 

Mark Payne commented on NIFI-4407:
----------------------------------

I reviewed the documentation in the Expression Language Guide, and 
unfortunately it doesn't really call out when $$ will be escaped and when it 
won't. So I started by updating the Expression Language Guide to explain 
exactly when the $$ will and won't be escaped. I then updated unit tests to 
include the examples that I added to the EL Guide and to include the 
${literal('SNAP$$$$$$$$$')} type examples provided by [~Absolutesantaja] 
(thanks!). I then updated the code to ensure that all unit tests pass. PR is 
now ready to be reviewed.

> Non-EL statement processed as expression language
> -------------------------------------------------
>
>                 Key: NIFI-4407
>                 URL: https://issues.apache.org/jira/browse/NIFI-4407
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 1.0.0, 1.1.0, 1.2.0, 1.1.1, 1.0.1, 1.3.0
>            Reporter: Pierre Villard
>            Priority: Critical
>             Fix For: 1.8.0
>
>
> If you take a GFF with custom text: {{test$$foo}}
> The generated text will be: {{test$foo}}
> The property supports expression language and one $ is removed during the EL 
> evaluation step. This can be an issue if a user wants to use a value 
> containing to consecutive $$ (such as in password fields).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to