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

l:breakable mishandles HTML metacharacters

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      If you give a project the display name Crazy <ha ha>, it is displayed as Crazy <;ha ha> (note the extra semicolon). This is because escape produces

      Crazy &lt;ha ha>

      and then breakableString produces

      Crazy <wbr>&lt<wbr>;ha ha>

      which is of course wrong.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            core/src/main/java/hudson/Functions.java
            core/src/test/java/hudson/FunctionsTest.java
            http://jenkins-ci.org/commit/jenkins/3f1f122ff415319b6408ab89f8b3ff0bf4da597d
            Log:
            [FIXED JENKINS-20928] l:breakable mishandles HTML metacharacters

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: core/src/main/java/hudson/Functions.java core/src/test/java/hudson/FunctionsTest.java http://jenkins-ci.org/commit/jenkins/3f1f122ff415319b6408ab89f8b3ff0bf4da597d Log: [FIXED JENKINS-20928] l:breakable mishandles HTML metacharacters
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            core/src/main/java/hudson/Functions.java
            core/src/test/java/hudson/FunctionsTest.java
            http://jenkins-ci.org/commit/jenkins/ca139a7c9fc4455aacafd1a66077bc039b723d18
            Log:
            Merge pull request #1058 from olivergondza/breakable-regex

            [FIXED JENKINS-20928] l:breakable mishandles HTML metacharacters

            Compare: https://github.com/jenkinsci/jenkins/compare/b2edcbae171b...ca139a7c9fc4

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: core/src/main/java/hudson/Functions.java core/src/test/java/hudson/FunctionsTest.java http://jenkins-ci.org/commit/jenkins/ca139a7c9fc4455aacafd1a66077bc039b723d18 Log: Merge pull request #1058 from olivergondza/breakable-regex [FIXED JENKINS-20928] l:breakable mishandles HTML metacharacters Compare: https://github.com/jenkinsci/jenkins/compare/b2edcbae171b...ca139a7c9fc4
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #3112
            [FIXED JENKINS-20928] l:breakable mishandles HTML metacharacters (Revision 3f1f122ff415319b6408ab89f8b3ff0bf4da597d)

            Result = SUCCESS
            ogondza : 3f1f122ff415319b6408ab89f8b3ff0bf4da597d
            Files :

            • core/src/main/java/hudson/Functions.java
            • core/src/test/java/hudson/FunctionsTest.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #3112 [FIXED JENKINS-20928] l:breakable mishandles HTML metacharacters (Revision 3f1f122ff415319b6408ab89f8b3ff0bf4da597d) Result = SUCCESS ogondza : 3f1f122ff415319b6408ab89f8b3ff0bf4da597d Files : core/src/main/java/hudson/Functions.java core/src/test/java/hudson/FunctionsTest.java
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            core/src/main/java/hudson/Functions.java
            core/src/test/java/hudson/FunctionsTest.java
            http://jenkins-ci.org/commit/jenkins/0c455e1ecfb10a1dc2ebcd3d1c4de67623e627a3
            Log:
            [FIXED JENKINS-20928] l:breakable mishandles HTML metacharacters

            (cherry picked from commit 3f1f122ff415319b6408ab89f8b3ff0bf4da597d)

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: core/src/main/java/hudson/Functions.java core/src/test/java/hudson/FunctionsTest.java http://jenkins-ci.org/commit/jenkins/0c455e1ecfb10a1dc2ebcd3d1c4de67623e627a3 Log: [FIXED JENKINS-20928] l:breakable mishandles HTML metacharacters (cherry picked from commit 3f1f122ff415319b6408ab89f8b3ff0bf4da597d)

              People

              • Assignee:
                olivergondza Oliver Gondža
                Reporter:
                jglick Jesse Glick
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: