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

[validating-string-parameter] Migrate legacy checkUrl attribute in hudson/plugins/validating_string_parameter/ValidatingStringParameterDefinition/index.jelly

XMLWordPrintable

    • 251.vc34e592b_8a_4d

      Problem

      == Legacy checkUrl
      Line: 33
      ----
      checkUrl="'${rootURL}/descriptorByName/hudson.plugins.validating_string_parameter.ValidatingStringParameterDefinition/validate?regex='+encodeURIComponent('${h.jsStringEscape(it.regex)}')+'&failedValidationMessage='+encodeURIComponent('${h.jsStringEscape(it.failedValidationMessage)}')+'&value='+encodeURIComponent(this.value)"
      ----
      

      Solution

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

            yafenkin Yaroslav Afenkin
            basil Basil Crow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: