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

[simple-queue] Extract inline script block in cz/mendelu/xotradov/SimpleQueueWidget/index.jelly

    • 1.4.6

      Problem

      == Inline Script Block
      Line: 136
      ----
      <script defer="defer">
                          refreshPart('buildSimpleQueue',"${rootURL}/updateQueue/ajaxBuildQueue?name=${view.viewName}");
                      </script>
      ----
      

      Solution

      https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks

          [JENKINS-74334] [simple-queue] Extract inline script block in cz/mendelu/xotradov/SimpleQueueWidget/index.jelly

          Basil Crow created issue -
          Basil Crow made changes -
          Assignee Original: Jaroslav Otradovec [ otradovec ]
          Basil Crow made changes -
          Description Original: h4. Problems

          {noformat}
          == Inline Script Block
          Line: 136
          ----
          <script defer="defer">
                              refreshPart('buildSimpleQueue',"${rootURL}/updateQueue/ajaxBuildQueue?name=${view.viewName}");
                          </script>
          ----

          == Inline Script Block
          Line: 136
          ----
          <script defer="defer">
                              refreshPart('buildSimpleQueue',"${rootURL}/updateQueue/ajaxBuildQueue?name=${view.viewName}");
                          </script>
          ----
          {noformat}

          h4. Solution

          [https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks]
          New: h4. Problem

          {noformat}
          == Inline Script Block
          Line: 136
          ----
          <script defer="defer">
                              refreshPart('buildSimpleQueue',"${rootURL}/updateQueue/ajaxBuildQueue?name=${view.viewName}");
                          </script>
          ----
          {noformat}

          h4. Solution

          [https://www.jenkins.io/doc/developer/security/csp/#inline-javascript-blocks]
          Summary Original: [simple-queue] Extract inline script blocks in cz/mendelu/xotradov/SimpleQueueWidget/index.jelly New: [simple-queue] Extract inline script block in cz/mendelu/xotradov/SimpleQueueWidget/index.jelly
          Jaroslav Otradovec made changes -
          Assignee New: Jaroslav Otradovec [ otradovec ]

          Done in release 1.4.6

          Jaroslav Otradovec added a comment - Done in release 1.4.6
          Jaroslav Otradovec made changes -
          Released As New: 1.4.6
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          Basil Crow added a comment -

          Sorry otradovec, but this is still not fixed in 1.4.6, which contains no changes from 1.4.5. The problematic code described in the issue description is still present in 1.4.6 in src/main/resources/cz/mendelu/xotradov/SimpleQueueWidget/index.jelly.

          Basil Crow added a comment - Sorry otradovec , but this is still not fixed in 1.4.6, which contains no changes from 1.4.5. The problematic code described in the issue description is still present in 1.4.6 in src/main/resources/cz/mendelu/xotradov/SimpleQueueWidget/index.jelly .
          Basil Crow made changes -
          Resolution Original: Fixed [ 1 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

            otradovec Jaroslav Otradovec
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: