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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Hudson 1.363
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          StevenGBrown StevenGBrown added a comment -

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

          Show
          StevenGBrown StevenGBrown added a comment - See also JENKINS-6719 , which introduced the ability to download the file parameters from the action page.
          Hide
          scm_issue_link 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.

          Show
          scm_issue_link 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.

            People

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

              Dates

              Created:
              Updated:
              Resolved: