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

[sitemonitor] Migrate legacy checkUrl attributes in hudson/plugins/sitemonitor/SiteMonitorRecorder/config.jelly

      Problems

      == Legacy checkUrl
      Line: 7
      ----
      checkUrl="'${rootURL}/publisher/SiteMonitorRecorder/checkUrl?value='+encode(this.value)"
      ----
      
      == Legacy checkUrl
      Line: 10
      ----
      checkUrl="'${rootURL}/publisher/SiteMonitorRecorder/checkResponseCodes?value='+encode(this.value)"
      ----
      
      == Legacy checkUrl
      Line: 13
      ----
      checkUrl="'${rootURL}/publisher/SiteMonitorRecorder/checkTimeout?value='+encode(this.value)"
      ----
      

      Solution

      https://www.jenkins.io/doc/developer/security/csp/#legacy-javascript-checkurl-validation

          [JENKINS-74261] [sitemonitor] Migrate legacy checkUrl attributes in hudson/plugins/sitemonitor/SiteMonitorRecorder/config.jelly

          Basil Crow created issue -
          Basil Crow made changes -
          Assignee Original: Francisco Hernandez Suarez [ onuba ]
          Basil Crow made changes -
          Description Original: h4. Problems

          {noformat}
          == Legacy checkUrl
          Line: 7
          ----
          checkUrl="'${rootURL}/publisher/SiteMonitorRecorder/checkUrl?value='+encode(this.value)"
          ----

          == Legacy checkUrl
          Line: 10
          ----
          checkUrl="'${rootURL}/publisher/SiteMonitorRecorder/checkResponseCodes?value='+encode(this.value)"
          ----

          == Legacy checkUrl
          Line: 13
          ----
          checkUrl="'${rootURL}/publisher/SiteMonitorRecorder/checkTimeout?value='+encode(this.value)"
          ----

          == Legacy checkUrl
          Line: 7
          ----
          checkUrl="'${rootURL}/publisher/SiteMonitorRecorder/checkUrl?value='+encode(this.value)"
          ----

          == Legacy checkUrl
          Line: 10
          ----
          checkUrl="'${rootURL}/publisher/SiteMonitorRecorder/checkResponseCodes?value='+encode(this.value)"
          ----

          == Legacy checkUrl
          Line: 13
          ----
          checkUrl="'${rootURL}/publisher/SiteMonitorRecorder/checkTimeout?value='+encode(this.value)"
          ----
          {noformat}

          h4. Solution

          [https://www.jenkins.io/doc/developer/security/csp/#legacy-javascript-checkurl-validation]
          New: h4. Problems

          {noformat}
          == Legacy checkUrl
          Line: 7
          ----
          checkUrl="'${rootURL}/publisher/SiteMonitorRecorder/checkUrl?value='+encode(this.value)"
          ----

          == Legacy checkUrl
          Line: 10
          ----
          checkUrl="'${rootURL}/publisher/SiteMonitorRecorder/checkResponseCodes?value='+encode(this.value)"
          ----

          == Legacy checkUrl
          Line: 13
          ----
          checkUrl="'${rootURL}/publisher/SiteMonitorRecorder/checkTimeout?value='+encode(this.value)"
          ----
          {noformat}

          h4. Solution

          [https://www.jenkins.io/doc/developer/security/csp/#legacy-javascript-checkurl-validation]

            Unassigned Unassigned
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: