Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-14284

Single backslashes are droped or used as escape char

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: envinject-plugin
    • Labels:
      None
    • Environment:
      EnvInject 1.57 (only)
      Jenkins 1.447.2 (LTS)
      MS Windows OS family.
    • Similar Issues:

      Description

      Example:
      When setup "\\server\D\tmp" you got the "
      serverD mp" so the 1st backslash is dropped and the 2nd one is interpreted as escape char for tab (\t).
      When setup "\\server\\D
      tmp" it is interpreted as is, so file were not found.
      So there is no way to setup the environment vaiable contains single backslash and it is serious problem, especialy on Windows platform.

      This problem is only for EnvInject verion 1.57 so the version 1.56 is not affected.

        Attachments

          Issue Links

            Activity

            Hide
            svasek Milos Svasek added a comment -

            Fix of the JENKINS-14232 causing this issue.

            Show
            svasek Milos Svasek added a comment - Fix of the JENKINS-14232 causing this issue.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            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/2be7887c9c5c8c01ad47070c4807a159a137ec97
            Log:
            Fix JENKINS-14284

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - 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/2be7887c9c5c8c01ad47070c4807a159a137ec97 Log: Fix JENKINS-14284

              People

              • Assignee:
                gbois Gregory Boissinot
                Reporter:
                svasek Milos Svasek
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: