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

Git branch with slashes are double encoded (Jenkins core and blue ocean)

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Component/s: blueocean-plugin, core
    • Labels:
    • Environment:
      Jenkins 2.169
      BlueOcean 1.14.0
      Jenkins installed on Windows
      Git Plugin 3.9.3
      Git Client Plugin 2.7.6
    • Similar Issues:

      Description

      I have a GIT Branch called "v10/release".

      1. In default UI of Jenkins, the link of this branch in my "ice" Github repository (/job/ice/)  is  : "/job/ice/job/v10%252Frelease/" (404 error) instead of "/job/ice/job/v10%2Frelease/" which works (display correctly the page, I can execute a build, see logs, etc...)

       note: All branches without slashes work perfectly.

       

      2. In Blue Ocean, Jobs of this branch are listed, but not displayed correctly:

      Example: /blue/organizations/jenkins/ice/detail/v10%2Fmaster/2/pipeline/

      As you can see in my screenshot, urls are also double encoded

       

       

        Attachments

          Activity

          lardef frederic larde created issue -
          lardef frederic larde made changes -
          Field Original Value New Value
          Description I have a GIT Branch called "v10/release".

          1. In default UI of Jenkins, the link of this branch in my "ice" Github repository (/job/ice/)  is  : "/job/ice/job/v10%252Frelease/" (404 error) instead of "/job/ice/job/v10%2Frelease/" which works (display correctly the page, I can execute a build, see logs, etc...)

           

          2. In Blue Ocean, Jobs of this branch are listed, but not displayed correctly:

          Example: /blue/organizations/jenkins/ice/detail/v10%2Fmaster/2/pipeline/

          As you can see in my screenshot, urls are also double encoded

           

           
          I have a GIT Branch called "v10/release".

          1. In default UI of Jenkins, the link of this branch in my "ice" Github repository (/job/ice/)  is  : "/job/ice/job/v10%252Frelease/" (404 error) instead of "/job/ice/job/v10%2Frelease/" which works (display correctly the page, I can execute a build, see logs, etc...)

           note: All branches without slashes work perfectly.

           

          2. In Blue Ocean, Jobs of this branch are listed, but not displayed correctly:

          Example: /blue/organizations/jenkins/ice/detail/v10%2Fmaster/2/pipeline/

          As you can see in my screenshot, urls are also double encoded

           

           
          lardef frederic larde made changes -
          Environment Jenkins 2.169
          BlueOcean 1.14.0
          Jenkins installed on Windows
          Jenkins 2.169
          BlueOcean 1.14.0
          Jenkins installed on Windows
          Git Plugin 3.9.3
          Git Client Plugin 2.7.6
          halkeye Gavin Mogan made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Cannot Reproduce [ 5 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              lardef frederic larde
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: