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

HTML in Active Choice parameter description is 'sanitized' to text

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Duplicate
    • active-choices-plugin
    • None
    • Jenkins v2.93, Active Choices v2.0+

    Description

      While testing the v2.0 Active Choices patch, I realized that HTML in Active Choices parameter description that used to render correctly with v1.5.3 and Jenkins 2.19 no longer does. This happens even when Jenkins security is set to 'safe HTML' and the HTML is something as simple as a an HTML header in the parameter description. When the parameter is rendered the HTML is 'sanitized' i.e. renders just like text.

      Attachments

        Issue Links

          Activity

            ioannis Ioannis Moutsatsos added a comment - - edited

            Is this duplicate of JENKINS-47039 ? Personally, I have not observed this behavior using Active Choices v1.5.3 and older versions of Jenkins (like 2.19) However, this behavior is exhibited when using newer versions of Jenkins and so it must be due to the Jenkins increased security features.

            Sorry, I'm also realizing that this is a duplicate of JENKINS-43380 where there is already an extensive discussion on suggested fixes. kinow any thoughts on a fix?

            ioannis Ioannis Moutsatsos added a comment - - edited Is this duplicate of  JENKINS-47039 ? Personally, I have not observed this behavior using Active Choices v1.5.3 and older versions of Jenkins (like 2.19) However, this behavior is exhibited when using newer versions of Jenkins and so it must be due to the Jenkins increased security features. Sorry, I'm also realizing that this is a duplicate of  JENKINS-43380 where there is already an extensive discussion on suggested fixes. kinow any thoughts on a fix?

            Yup, duplicate of JENKINS-43380 as well. But at least these issues duplicated of JENKINS-43380 were pointing that the formatted HTML parameters had the issue.

            Closing as duplicate, and fixing JENKINS-43380.

            Thanks for reporting it Ioannis

            Bruno

            kinow Bruno P. Kinoshita added a comment - Yup, duplicate of JENKINS-43380 as well. But at least these issues duplicated of JENKINS-43380 were pointing that the formatted HTML parameters had the issue. Closing as duplicate, and fixing JENKINS-43380 . Thanks for reporting it Ioannis Bruno

            People

              kinow Bruno P. Kinoshita
              ioannis Ioannis Moutsatsos
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: