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

Active Choices Plugin double-HTML-escapes characters when run in Groovy Sandbox

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • active-choices-plugin
    • None
    • Jenkins 2.440.3, Active Choices Plug-in Version 2.8.3

      Given a very basic parameter config, the value that should contain "bar && asdf" will be rendered as "bar & amp; & amp; asdf"

      will become

      this issue does NOT appear when "Groovy Sandbox" is disabled for the parameter.

          [JENKINS-73205] Active Choices Plugin double-HTML-escapes characters when run in Groovy Sandbox

          Manfred created issue -
          Manfred made changes -
          Description Original: Given a very basic parameter config, the value that should contain "{{{}bar && asdf"{}}} will be rendered as "{{{}bar & & asdf"{}}}

          !image-2024-05-22-10-55-48-108.png!

          will become


          !image-2024-05-22-10-57-06-613.png!





          this issue does NOT appear when "Groovy Sandbox" is disabled for the parameter.
          New: Given a very basic parameter config, the value that should contain "{{{}bar && asdf"{}}} will be rendered as "{{{}bar & & asdf"{}}}

          !image-2024-05-22-10-55-48-108.png!

          will become

          !image-2024-05-22-10-57-06-613.png!

          this issue does NOT appear when "Groovy Sandbox" is disabled for the parameter.
          Manfred made changes -
          Description Original: Given a very basic parameter config, the value that should contain "{{{}bar && asdf"{}}} will be rendered as "{{{}bar & & asdf"{}}}

          !image-2024-05-22-10-55-48-108.png!

          will become

          !image-2024-05-22-10-57-06-613.png!

          this issue does NOT appear when "Groovy Sandbox" is disabled for the parameter.
          New: Given a very basic parameter config, the value that should contain "{{{}bar && asdf"{}}} will be rendered as "{{{}bar & amp; & amp; asdf"{}}}

          !image-2024-05-22-10-55-48-108.png!

          will become

          !image-2024-05-22-10-57-06-613.png!

          this issue does NOT appear when "Groovy Sandbox" is disabled for the parameter.

            kinow Bruno P. Kinoshita
            mwallner Manfred
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: