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

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

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Component/s: active-choices-plugin
    • Labels:
      None
    • Environment:
      Jenkins v2.93, Active Choices v2.0+
    • Similar Issues:

      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

            Hide
            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. Bruno P. Kinoshita any thoughts on a fix?

            Show
            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. Bruno P. Kinoshita any thoughts on a fix?
            Hide
            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

            Show
            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

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

                Dates

                • Created:
                  Updated:
                  Resolved: