Issue Type: Bug Bug
Assignee: Mirko Friedenhagen
Components: jobconfighistory
Created: 16/Jan/13 1:28 PM
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.

Project: Jenkins
Priority: Minor Minor
Reporter: Marc Günther
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to