• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None

      Way to reproduce:

          [JENKINS-6960] URLEncoding problem with 'from' parameter

          aldaris created issue -
          Alan Harder made changes -
          Assignee New: Alan Harder [ mindless ]

          Code changed in hudson
          User: : mindless
          Path:
          trunk/hudson/main/core/src/main/resources/hudson/security/SecurityRealm/loginLink.jelly
          trunk/www/changelog.html
          http://jenkins-ci.org/commit/32884
          Log:
          [FIXED JENKINS-6960] Encode from parameter in login link, to fix redirect
          after login when return URL has characters that need encoding.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: : mindless Path: trunk/hudson/main/core/src/main/resources/hudson/security/SecurityRealm/loginLink.jelly trunk/www/changelog.html http://jenkins-ci.org/commit/32884 Log: [FIXED JENKINS-6960] Encode from parameter in login link, to fix redirect after login when return URL has characters that need encoding.
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Andrew Bayer made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          Jenkins IRC Bot made changes -
          Component/s New: core [ 15593 ]
          Component/s Original: www [ 15484 ]

          I have a job which name is "création d'un test" and the link in the main page is :

          <a class="model-link inside" href="job/cr%C3%A9ation%20d'un%20test/">création d<wbr>'un test</a>

          as you can see, the quote character ' is not URLEncoded with %27.

          This make a loading error when trying to see the job's configuration page (variable).

          Another error is when I try to delete the job.
          Nothing happens when I click on the delete project link on the job page loaded with url ..../job/cr%C3%A9ation%20d'un%20test/ BUT the delete action link works on the job page loaded with url .../job/cr%C3%A9ation%20d%27un%20test/

          Jenkins version : 1.599

          Cyril Pottiers added a comment - I have a job which name is "création d'un test" and the link in the main page is : <a class="model-link inside" href="job/cr%C3%A9ation%20d'un%20test/">création d<wbr>'un test</a> as you can see, the quote character ' is not URLEncoded with %27. This make a loading error when trying to see the job's configuration page (variable). Another error is when I try to delete the job. Nothing happens when I click on the delete project link on the job page loaded with url ..../job/cr%C3%A9ation%20d'un%20test/ BUT the delete action link works on the job page loaded with url .../job/cr%C3%A9ation%20d%27un%20test/ Jenkins version : 1.599
          Cyril Pottiers made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Closed [ 6 ] New: Reopened [ 4 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 137057 ] New: JNJira + In-Review [ 185958 ]

            mindless Alan Harder
            aldaris aldaris
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: