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

Incorrect redirect after editing view with Unicode name

      I believe as of https://github.com/jenkinsci/jenkins/commit/fbb2bca in 1.500, when using Winstone, if a View has a non-ASCII name, after you Save its configuration you are redirected to a bogus URL which gives a 404.

          [JENKINS-18373] Incorrect redirect after editing view with Unicode name

          Code changed in jenkins
          User: Jesse Glick
          Path:
          changelog.html
          core/src/main/java/hudson/model/View.java
          test/src/test/java/hudson/model/ViewTest.java
          http://jenkins-ci.org/commit/jenkins/80328483465027495c01d20ae11d743a46965c01
          Log:
          [FIXED JENKINS-18373] View.doConfigSubmit must rawEncode its name.

          Compare: https://github.com/jenkinsci/jenkins/compare/1e7b82aea072...803284834650

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/java/hudson/model/View.java test/src/test/java/hudson/model/ViewTest.java http://jenkins-ci.org/commit/jenkins/80328483465027495c01d20ae11d743a46965c01 Log: [FIXED JENKINS-18373] View.doConfigSubmit must rawEncode its name. Compare: https://github.com/jenkinsci/jenkins/compare/1e7b82aea072...803284834650

          dogfood added a comment -

          Integrated in jenkins_main_trunk #2622
          [FIXED JENKINS-18373] View.doConfigSubmit must rawEncode its name. (Revision 80328483465027495c01d20ae11d743a46965c01)

          Result = SUCCESS
          Jesse Glick : 80328483465027495c01d20ae11d743a46965c01
          Files :

          • test/src/test/java/hudson/model/ViewTest.java
          • changelog.html
          • core/src/main/java/hudson/model/View.java

          dogfood added a comment - Integrated in jenkins_main_trunk #2622 [FIXED JENKINS-18373] View.doConfigSubmit must rawEncode its name. (Revision 80328483465027495c01d20ae11d743a46965c01) Result = SUCCESS Jesse Glick : 80328483465027495c01d20ae11d743a46965c01 Files : test/src/test/java/hudson/model/ViewTest.java changelog.html core/src/main/java/hudson/model/View.java

          Code changed in jenkins
          User: Jesse Glick
          Path:
          core/src/main/java/hudson/model/View.java
          test/src/test/java/hudson/model/ViewTest.java
          http://jenkins-ci.org/commit/jenkins/3a527ecd5c678bdf9f1d9c0b9eb331130672b8dd
          Log:
          [FIXED JENKINS-18373] View.doConfigSubmit must rawEncode its name.
          (cherry picked from commit 80328483465027495c01d20ae11d743a46965c01)

          Conflicts:
          changelog.html
          test/src/test/java/hudson/model/ViewTest.java

          Compare: https://github.com/jenkinsci/jenkins/compare/d7e370236249...3a527ecd5c67

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: core/src/main/java/hudson/model/View.java test/src/test/java/hudson/model/ViewTest.java http://jenkins-ci.org/commit/jenkins/3a527ecd5c678bdf9f1d9c0b9eb331130672b8dd Log: [FIXED JENKINS-18373] View.doConfigSubmit must rawEncode its name. (cherry picked from commit 80328483465027495c01d20ae11d743a46965c01) Conflicts: changelog.html test/src/test/java/hudson/model/ViewTest.java Compare: https://github.com/jenkinsci/jenkins/compare/d7e370236249...3a527ecd5c67

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: