show job difference does not work, url escaped twice

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

XMLWordPrintable

      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.

            Assignee:
            Kathi Stutz
            Reporter:
            Marc Günther
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: