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

List view section name do not resolve <div> tag anymore

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: sectioned-view-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 2.46.3 LTS
      All plugins up-to-date
      Windows server 2012
    • Similar Issues:

      Description

      After we migrated from V2.46.2 to  V2.46.3 and updated all plugins the sectioned views do not display like before.

       

      The name field do not display this kind of syntax anymore :

      <div id="unstable_fitnesse_builds">Unstable FitNesse Builds</div>

      Thanks for your help.

       

      ./Frederic

       

        Attachments

          Issue Links

            Activity

            Hide
            olivergondza Oliver Gondža added a comment -

            This was disallowed explicitly as any markup or javascript could have been added.

            Show
            olivergondza Oliver Gondža added a comment - This was disallowed explicitly as any markup or javascript could have been added.
            Hide
            fredericmeyrou Frédéric Meyrou added a comment - - edited

            Thanks Olivier for this information. Security limitations are becoming a big hasshole... any chance we can continue to just work with Jenkins...when we use it with a less secure internal network agreement level?

            Show
            fredericmeyrou Frédéric Meyrou added a comment - - edited Thanks Olivier for this information. Security limitations are becoming a big hasshole... any chance we can continue to just work with Jenkins...when we use it with a less secure internal network agreement level?
            Hide
            olivergondza Oliver Gondža added a comment - - edited

            I suspect this "feature" was introduced by accident when html escaping was simply forgotten. The proper way to bring it back is to push the name through administrator configured formatter that can be more or less strict about what you pass in depending on how you feel about security.

            Show
            olivergondza Oliver Gondža added a comment - - edited I suspect this "feature" was introduced by accident when html escaping was simply forgotten. The proper way to bring it back is to push the name through administrator configured formatter that can be more or less strict about what you pass in depending on how you feel about security.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oliver Gondža
            Path:
            pom.xml
            src/main/java/hudson/plugins/sectioned_view/SectionedViewSection.java
            src/main/resources/hudson/plugins/sectioned_view/JobGraphsSection/main.jelly
            src/main/resources/hudson/plugins/sectioned_view/ListViewSection/main.jelly
            src/main/resources/hudson/plugins/sectioned_view/TestResultViewSection/main.jelly
            src/main/resources/hudson/plugins/sectioned_view/TextSection/main.jelly
            src/main/resources/hudson/plugins/sectioned_view/ViewListingSection/main.jelly
            src/test/java/hudson/plugins/sectioned_view/SectionedViewTest.java
            http://jenkins-ci.org/commit/sectioned-view-plugin/8524de2b59206de1aa7ca2d6d6eabe3ce09d8510
            Log:
            [FIXED JENKINS-44987] Push section names through markup formatter

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oliver Gondža Path: pom.xml src/main/java/hudson/plugins/sectioned_view/SectionedViewSection.java src/main/resources/hudson/plugins/sectioned_view/JobGraphsSection/main.jelly src/main/resources/hudson/plugins/sectioned_view/ListViewSection/main.jelly src/main/resources/hudson/plugins/sectioned_view/TestResultViewSection/main.jelly src/main/resources/hudson/plugins/sectioned_view/TextSection/main.jelly src/main/resources/hudson/plugins/sectioned_view/ViewListingSection/main.jelly src/test/java/hudson/plugins/sectioned_view/SectionedViewTest.java http://jenkins-ci.org/commit/sectioned-view-plugin/8524de2b59206de1aa7ca2d6d6eabe3ce09d8510 Log: [FIXED JENKINS-44987] Push section names through markup formatter
            Hide
            krissap Chris J added a comment -

            Thanks Oliver Gondža for the fix !

            Show
            krissap Chris J added a comment - Thanks Oliver Gondža for the fix !

              People

              • Assignee:
                tbingaman Timothy Bingaman
                Reporter:
                fredericmeyrou Frédéric Meyrou
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: