jenkinsci / azure-storage-plugin

21 stars 45 forks source link

Migrate legacy `checkUrl` attributes #322

Open basil opened 3 days ago

basil commented 3 days ago

Problems

== Legacy checkUrl
File: ./src/main/resources/com/microsoftopentechnologies/windowsazurestorage/WAStoragePublisher/config.jelly
Line: 10
----
checkUrl="'${rootURL}/publisher/WAStoragePublisher/checkPath?val='+encodeURIComponent(this.value)"
----

== Legacy checkUrl
File: ./src/main/resources/com/microsoftopentechnologies/windowsazurestorage/WAStoragePublisher/config.jelly
Line: 21
----
checkUrl="'${rootURL}/publisher/WAStoragePublisher/checkContainerName?val='+escape(this.value)"
----

== Legacy checkUrl
File: ./src/main/resources/com/microsoftopentechnologies/windowsazurestorage/WAStoragePublisher/config.jelly
Line: 32
----
checkUrl="'${rootURL}/publisher/WAStoragePublisher/checkFileShareName?val='+escape(this.value)"
----

Solution

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