[
https://issues.jenkins-ci.org/browse/JENKINS-12746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=158979#comment-158979
]
SCM/JIRA link daemon commented on JENKINS-12746:
------------------------------------------------
Code changed in jenkins
User: Gregory Boissinot
Path:
src/main/java/org/jenkinsci/plugins/envinject/service/PropertiesLoader.java
http://jenkins-ci.org/commit/envinject-plugin/b183fac8743092f6b49e7313ae6353c35ee6ce82
Log:
Fix JENKINS-12746
> envinject strips off "\" each time config page is opened
> --------------------------------------------------------
>
> Key: JENKINS-12746
> URL: https://issues.jenkins-ci.org/browse/JENKINS-12746
> Project: Jenkins
> Issue Type: Bug
> Components: envinject
> Environment: envinject 1.20
> Jenkins 1.424.1
> Windows XP
> Reporter: Roger Myung
> Assignee: gbois
> Priority: Critical
>
> I have previously used envinject versions 1.13 and 1.17.
> envinject always had problems with UNC paths in Windows.
> (ex. MY_SHARED_FOLDER=\\MYCOMPUTER\Shared)
> I previously was able to escape these directories by using double slashes
> (MY_SHARED_FOLDER=\\\\MYCOMPUTER\Shared).
> However, one of the updates between 1.17 and 1.20 introduced functionality
> that updates the the "Properties Content" each time the config page is saved.
> So after I set my value to "\\\\", and save. If I load the page again, the
> value is set to "\\". If I save and load again, this becomes "\".
> This is a very serious issue that forced me to downgrade the plugin even
> though I really want the Mask Password fix.
--
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