node, step, step log url computed with wrong encoding

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

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

            Assignee:
            Vivek Pandey
            Reporter:
            Vivek Pandey
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: