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

In html report Javascript file isn't downloaded although security settings are "sandbox; default-src 'self';"

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: Minor Minor
    • htmlpublisher-plugin
    • None
    • jenkins 2.46.3 on Windows server 2012 R2
      html publisher plugin 1.13
      Tested with firefox (last version), chrome (last version), IE 11

      I use the report generator (https://github.com/danielpalme/ReportGenerator) to generate a report of the nunit test results. The report contains also a javascript file (combined.js) to create a history chart. But this javascript file is never downloaded, although I have changed the security setting to "sandbox; default-src 'self';" as suggested in this page (https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy)

          [JENKINS-44941] In html report Javascript file isn't downloaded although security settings are "sandbox; default-src 'self';"

          spam me created issue -
          spam me made changes -
          Description Original: I use the report generator (https://github.com/danielpalme/ReportGenerator) to generate a report of the nunit test results. The report contains also a javascript file (combined.js) to create a [history chart|[https://camo.githubusercontent.com/9139856dae13e3619357399be3750301cf200056/687474703a2f2f64616e69656c70616c6d652e6769746875622e696f2f5265706f727447656e657261746f722f7265736f75726365732f73637265656e73686f74312e706e67].] But this javascript file is never downloaded, although I have changed the security setting to "sandbox; default-src 'self';" as suggested in this page (https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy) New: I use the report generator ([https://github.com/danielpalme/ReportGenerator]) to generate a report of the nunit test results. The report contains also a javascript file (combined.js) to create a [history chart|[https://camo.githubusercontent.com/9139856dae13e3619357399be3750301cf200056/687474703a2f2f64616e69656c70616c6d652e6769746875622e696f2f5265706f727447656e657261746f722f7265736f75726365732f73637265656e73686f74312e706e67]] But this javascript file is never downloaded, although I have changed the security setting to "sandbox; default-src 'self';" as suggested in this page ([https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy])
          spam me made changes -
          Description Original: I use the report generator ([https://github.com/danielpalme/ReportGenerator]) to generate a report of the nunit test results. The report contains also a javascript file (combined.js) to create a [history chart|[https://camo.githubusercontent.com/9139856dae13e3619357399be3750301cf200056/687474703a2f2f64616e69656c70616c6d652e6769746875622e696f2f5265706f727447656e657261746f722f7265736f75726365732f73637265656e73686f74312e706e67]] But this javascript file is never downloaded, although I have changed the security setting to "sandbox; default-src 'self';" as suggested in this page ([https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy]) New: I use the report generator ([https://github.com/danielpalme/ReportGenerator]) to generate a report of the nunit test results. The report contains also a javascript file (combined.js) to create a [link title|http://example.com]

           

          [history chart|] But this javascript file is never downloaded, although I have changed the security setting to "sandbox; default-src 'self';" as suggested in this page ([https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy])
          spam me made changes -
          Description Original: I use the report generator ([https://github.com/danielpalme/ReportGenerator]) to generate a report of the nunit test results. The report contains also a javascript file (combined.js) to create a [link title|http://example.com]

           

          [history chart|] But this javascript file is never downloaded, although I have changed the security setting to "sandbox; default-src 'self';" as suggested in this page ([https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy])
          New: I use the report generator ([https://github.com/danielpalme/ReportGenerator]) to generate a report of the nunit test results. The report contains also a javascript file (combined.js) to create a [history chart|https://camo.githubusercontent.com/9139856dae13e3619357399be3750301cf200056/687474703a2f2f64616e69656c70616c6d652e6769746875622e696f2f5265706f727447656e657261746f722f7265736f75726365732f73637265656e73686f74312e706e67]. But this javascript file is never downloaded, although I have changed the security setting to "sandbox; default-src 'self';" as suggested in this page ([https://wiki.jenkins-ci.org/display/JENKINS/Configuring+Content+Security+Policy])
          Richard Bywater made changes -
          Assignee Original: mcrooney [ mcrooney ] New: Richard Bywater [ r2b2_nz ]
          Richard Bywater made changes -
          Resolution New: Incomplete [ 4 ]
          Status Original: Open [ 1 ] New: Closed [ 6 ]

            r2b2_nz Richard Bywater
            spamme spam me
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: