Level | easy |
Skills | a bit of JavaScript, a bit of Jelly |
Reproduction steps:
- Install Oracle Java SE Development Kit Installer or clone https://github.com/jenkinsci/jdk-tool-plugin and then mvn hpi:run
- Navigate to
[JENKINS_INSTANCE]/descriptorByName/hudson.tools.JDKInstaller/credentialOK
- Click on Close
Screenshot attached about where the feature is displayed.
NOTE: This is actually not working, recent browsers only allow scripts to close windows they opened
Proposal
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers
Testing notes
- Ensure to reproduce the feature before any change
- Ensure that you reproduce the feature after you have made the change
[JENKINS-69860] [jdk-tool] onclick usage DescriptorImpl/credentialOK.jelly
Assignee | Original: Wadeck Follonier [ wfollonier ] |
Description |
Original:
|Level|*easy*|
|Skills|a bit of JavaScript, a bit of Jelly| Culprit: [https://github.com/jenkinsci/jdk-tool-plugin/blob/eef9873383a7ca7f01984f9ca5d0355911f8baec/src/main/resources/hudson/tools/JDKInstaller/DescriptorImpl/credentialOK.jelly#L31] *Reproduction steps:* - Install [Oracle Java SE Development Kit Installer|https://plugins.jenkins.io/jdk-tool/] or clone [https://github.com/jenkinsci/jdk-tool-plugin] and then {{mvn hpi:run}} - Navigate to {noformat} [JENKINS_INSTANCE]/descriptorByName/hudson.tools.JDKInstaller/credentialOK {noformat} - Click on Close Screenshot attached about where the feature is displayed. (!) NOTE: This is actually not working, recent browsers only allow scripts to close windows they opened *Testing notes* - Ensure to reproduce the feature before any change - Ensure that you reproduce the feature after you have made the change |
New:
|Level|*easy*|
|Skills|a bit of JavaScript, a bit of Jelly| Culprit: [https://github.com/jenkinsci/jdk-tool-plugin/blob/eef9873383a7ca7f01984f9ca5d0355911f8baec/src/main/resources/hudson/tools/JDKInstaller/DescriptorImpl/credentialOK.jelly#L31] *Reproduction steps:* - Install [Oracle Java SE Development Kit Installer|https://plugins.jenkins.io/jdk-tool/] or clone [https://github.com/jenkinsci/jdk-tool-plugin] and then {{mvn hpi:run}} - Navigate to {noformat} [JENKINS_INSTANCE]/descriptorByName/hudson.tools.JDKInstaller/credentialOK {noformat} - Click on Close Screenshot attached about where the feature is displayed. (!) NOTE: This is actually not working, recent browsers only allow scripts to close windows they opened *Proposal* https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers *Testing notes* - Ensure to reproduce the feature before any change - Ensure that you reproduce the feature after you have made the change |
Assignee | New: Arthur CARON [ lemomorse ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Component/s | New: jdk-tool-plugin [ 23529 ] | |
Component/s | Original: strict-crumb-issuer-plugin [ 25631 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Remote Link | New: This issue links to "PR#47 (Web Link)" [ 28303 ] |
Remote Link | New: This issue links to "PR#48 (Web Link)" [ 28304 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Review [ 10005 ] | New: Fixed but Unreleased [ 10203 ] |
Released As | New: https://github.com/jenkinsci/jdk-tool-plugin/releases/tag/63.v62d2fd4b_4793 | |
Status | Original: Fixed but Unreleased [ 10203 ] | New: Resolved [ 5 ] |