[JIRA] [envinject] (JENKINS-21148) Colon (separator) in properties file does not get unescaped

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] [envinject] (JENKINS-21148) Colon (separator) in properties file does not get unescaped

JIRA noreply@jenkins-ci.org
Issue Type: Bug Bug
Assignee: Gregory Boissinot
Components: envinject
Created: 25/Dec/13 11:43 AM
Description:

Per .properties file format there are several separators possible:

http://en.wikipedia.org/wiki/.properties :

"Several formats are possible for each line, including key=value, key = value, key:value, and key value."

Thus they should be escaped when used as not a separator. I faced a problem with colon. My properties file contains a json string:

PARAMETERS={"foo"\:"1","bar"\:"2"}

it is generated by Groovy Properties and properly escaped. However when this gets injected using EnvInject plugin the colon sing is not unescaped back.

Project: Jenkins
Priority: Major Major
Reporter: Anton Martchukov
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/groups/opt_out.