[
https://issues.jenkins-ci.org/browse/JENKINS-12502?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Romain Seguy reassigned JENKINS-12502:
--------------------------------------
Assignee: Daniel Petisme (was: Romain Seguy)
> Variable with consecutive dollar characters not displayed as expected: One
> doller char is dropped
> -------------------------------------------------------------------------------------------------
>
> Key: JENKINS-12502
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12502
> Project: Jenkins
> Issue Type: Bug
> Components: mask-passwords
> Reporter: Hiren Patel
> Assignee: Daniel Petisme
>
> When trying to mask passwords with 2 or more dollar ($) characters together,
> the password is not masked
> e.g. {{pa$$word}} is not masked
> Also, the console log shows this with only one dollar character
> e.g. if you add a window batch command:
> bq. {{echo %PASSWORD%}}
> with {{pa$$word}} as {{%PASSWORD%}} the console will show:
> {quote}
> {{D:\jenkins\workspace\hp_test_job>echo pa$word}}
> {{pa$word}}
> {quote}
> notice only one dollar in output ... is $ an escape character?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira