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

node, step, step log url computed with wrong encoding

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • blueocean-plugin
    • None
    • pannonian

      If a branch has escapable character other than '/', for example '#', does not get encoded and this results in to calling nodes, steps or step's log API results in 404. Resulting in to blank run details page.

      For example, UI computes this URL for branch name feature/test#1: http://localhost:8080/jenkins/blue/rest/organizations/jenkins/pipelines/capability-annotation/branches/feature%252Ftest%231/runs/1/nodes/. Here '/' is correctly double encoded %252F but '#' is not so it is: %231.

      Correct encoding of branch name: feature/test#1 should have been: feature%252Ftest%25231.

          [JENKINS-41462] node, step, step log url computed with wrong encoding

          Vivek Pandey created issue -
          Vivek Pandey made changes -
          Assignee New: Vivek Pandey [ vivek ]
          Vivek Pandey made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Vivek Pandey made changes -
          Sprint New: pannonian [ 211 ]
          Vivek Pandey made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Vivek Pandey made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Review [ 10005 ] New: Resolved [ 5 ]
          Jenn Briden made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Mark Bretl made changes -
          Link New: This issue relates to JENKINS-48833 [ JENKINS-48833 ]

            vivek Vivek Pandey
            vivek Vivek Pandey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: