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

show job difference does not work, url escaped twice

    Details

    • Similar Issues:

      Description

      When I select two Job configurations in the History page, and click "Show Diffs", I get an empty page.

      The generated URL looks like this:

      https://jenkins.local/jenkins/job/marc-test/jobConfigHistory/showDiffFiles?histDir1=%252Fvar%252Flib%252Fjenkins%252Fconfig-history%252Fjobs%252Fmarc-test%252F2012-12-18_13-03-39&histDir2=%252Fvar%252Flib%252Fjenkins%252Fconfig-history%252Fjobs%252Fmarc-test%252F2013-01-16_14-19-31
      

      Note that the slashes in the pathes are escaped twice (%252F). When I replace the %252F with %2F, it works:

      https://jenkins.local/jenkins/job/marc-test/jobConfigHistory/showDiffFiles?histDir1=%2Fvar%2Flib%2Fjenkins%2Fconfig-history%2Fjobs%2Fmarc-test%2F2012-12-18_13-03-39&histDir2=%2Fvar%2Flib%2Fjenkins%2Fconfig-history%2Fjobs%2Fmarc-test%2F2013-01-16_14-19-31
      

      On a side note: Why are internal absolute path names on the server exposed as url parameters? Why not simply give the two dates? The job name is already part of the url anyway.

        Attachments

          Activity

            People

            • Assignee:
              kstutz Kathi Stutz
              Reporter:
              marc_guenther Marc Günther
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: