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

Quotes in jira task description generates incorrect html in changelog

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • jira-plugin
    • None

      When the jira plugin adds links and tooltips to the changelog, the tooltip is not escaped. If the issue description includes quote characters the tooltip is not rendered correctly. Html attributes should be quoted with double quotes, and I believe entity encoded (eg "e;).

          [JENKINS-8270] Quotes in jira task description generates incorrect html in changelog

          sogabe added a comment -

          sogabe added a comment - Fixed in 1.392(Hudson core) See https://github.com/hudson/hudson/commit/eeeda9eea834966fb0e3ce81b161afd8a53d68e3

          Code changed in hudson
          User: Seiji Sogabe
          Path:
          core/src/main/java/hudson/Util.java
          core/src/test/java/hudson/UtilTest.java
          http://hudson-labs.org/commit/core/eeeda9eea834966fb0e3ce81b161afd8a53d68e3
          Log:
          [FIXED JENKINS-8270] escape quotes.

          SCM/JIRA link daemon added a comment - Code changed in hudson User: Seiji Sogabe Path: core/src/main/java/hudson/Util.java core/src/test/java/hudson/UtilTest.java http://hudson-labs.org/commit/core/eeeda9eea834966fb0e3ce81b161afd8a53d68e3 Log: [FIXED JENKINS-8270] escape quotes.

            sogabe sogabe
            complete_looney complete_looney
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: