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

Single backslashes are droped or used as escape char

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • envinject-plugin
    • None
    • EnvInject 1.57 (only)
      Jenkins 1.447.2 (LTS)
      MS Windows OS family.

      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.

          [JENKINS-14284] Single backslashes are droped or used as escape char

          Milos Svasek added a comment -

          Fix of the JENKINS-14232 causing this issue.

          Milos Svasek added a comment - Fix of the JENKINS-14232 causing this issue.

          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

          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

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

              Created:
              Updated:
              Resolved: