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

node, step, step log url computed with wrong encoding

XMLWordPrintable

    • 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.

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

              Created:
              Updated:
              Resolved: