AbstractItem.getAbsoluteUrl calls Util.encode to deal with non-ASCII project names. (I suppose; not sure the exact motivation, but perhaps to allow URLs to be embedded in non-Unicode-safe content.)

      Yet ClassicDisplayURLProvider does not do this. Probably it should.

          [JENKINS-38067] Failure to call Util.encode

          Code changed in jenkins
          User: James Dumay
          Path:
          src/main/java/org/jenkinsci/plugins/displayurlapi/DisplayURLProvider.java
          http://jenkins-ci.org/commit/display-url-api-plugin/84b33939e45544dbb5e2b1599c8ed5a08bbf510c
          Log:
          JENKINS-38067 encode URLs with Util.encode

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: James Dumay Path: src/main/java/org/jenkinsci/plugins/displayurlapi/DisplayURLProvider.java http://jenkins-ci.org/commit/display-url-api-plugin/84b33939e45544dbb5e2b1599c8ed5a08bbf510c Log: JENKINS-38067 encode URLs with Util.encode

          James Dumay added a comment -

          James Dumay added a comment - jglick thanks. Here's the PR https://github.com/jenkinsci/display-url-api-plugin/pull/2

          Code changed in jenkins
          User: James William Dumay
          Path:
          src/main/java/org/jenkinsci/plugins/displayurlapi/DisplayURLProvider.java
          http://jenkins-ci.org/commit/display-url-api-plugin/3bdd80634e0afb84b320112395f32f7f73de1296
          Log:
          JENKINS-38067 encode URLs with Util.encode (#2)

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: James William Dumay Path: src/main/java/org/jenkinsci/plugins/displayurlapi/DisplayURLProvider.java http://jenkins-ci.org/commit/display-url-api-plugin/3bdd80634e0afb84b320112395f32f7f73de1296 Log: JENKINS-38067 encode URLs with Util.encode (#2)

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

              Created:
              Updated:
              Resolved: