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

File parameter name is not encoded before used within the download URL

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Hudson 1.363

      The file parameter name may contain unsafe characters that cannot be used within a URL. In particular, in can include forward-slash characters when the file parameter is located under a subdirectory of the workspace. See Util.rawEncode.

      When the file parameter name contains any of these characters, the file cannot currently be downloaded from the build Parameters page.

          [JENKINS-6897] File parameter name is not encoded before used within the download URL

          Steven G Brown created issue -

          StevenGBrown added a comment -

          See also JENKINS-6719, which introduced the ability to download the file parameters from the action page.

          StevenGBrown added a comment - See also JENKINS-6719 , which introduced the ability to download the file parameters from the action page.
          StevenGBrown made changes -
          Description Original: The file parameter name may contain unsafe characters that cannot be used within a URL. In particular, in can include forward-slash characters when the file parameter is located under a subdirectory of the workspace. See {{Util.rawEncode}}. New: The file parameter name may contain unsafe characters that cannot be used within a URL. In particular, in can include forward-slash characters when the file parameter is located under a subdirectory of the workspace. See {{Util.rawEncode}}.

          When the file parameter name contains any of these characters, the file cannot currently be downloaded from the build Parameters page.

          Code changed in hudson
          User: : StevenGBrown
          Path:
          trunk/hudson/main/core/src/main/resources/hudson/model/FileParameterValue/value.jelly
          trunk/www/changelog.html
          http://jenkins-ci.org/commit/32431
          Log:
          [FIXED JENKINS-6897] The file parameter name is now encoded before used within the download URL.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : StevenGBrown Path: trunk/hudson/main/core/src/main/resources/hudson/model/FileParameterValue/value.jelly trunk/www/changelog.html http://jenkins-ci.org/commit/32431 Log: [FIXED JENKINS-6897] The file parameter name is now encoded before used within the download URL.
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: parameters [ 15594 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 136994 ] New: JNJira + In-Review [ 204324 ]

            stevengbrown Steven G Brown
            stevengbrown Steven G Brown
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: