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

Failure to call Util.encode

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          scm_issue_link 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)

          Show
          scm_issue_link 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)
          Show
          jamesdumay James Dumay added a comment - Jesse Glick thanks. Here's the PR https://github.com/jenkinsci/display-url-api-plugin/pull/2
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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

            People

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

              Dates

              • Created:
                Updated:
                Resolved: