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

Refreshing page with / in job name results in 404

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • blueocean-plugin
    • None
    • BlueOcean 1.0.0-b19, Jenkins v2.32.1, Safari 10.0.3
    • pannonian, iapetus, 1.0

      When accessing a job or branch that has '/' in the name, it needs to be escaped using %2F. However, in Safari, when the page refreshes, the escapes are removed, and the URL just has a / in it. And you then get a 404 page.

      Similarly, when navigating from the regular Jenkins UI to the Blue Ocean UI in Safari, you get a 404 page and the job & branch names aren't escaped.

      Steps to reproduce:

      • create a job with / in the name
      • open the page in the Blue Ocean UI, using Safari, with the escaped URL.
      • refresh the page
      • see a 404 page.

      We get / in the job name because we use the BitBucket Branch Source Plugin (v1.9), so our jobs are in folders, and the job name ends up being <team name>/<repository name>. On top of that, we use a pattern of story/<issue-number>_<summary> for our branches, so there's another /

            vivek Vivek Pandey
            twasink Robert Watkins
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: