Skip to content

Commit

Permalink
[JENKINS-73166] Fix PKCS#12 certificate save to credentials (#9286)
Browse files Browse the repository at this point in the history
Call eval indirectly from geval
  • Loading branch information
zbynek authored May 19, 2024
1 parent 7f44636 commit 35b3959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion war/src/main/webapp/scripts/hudson-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ function parseHtml(html) {
* https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval#direct_and_indirect_eval
*/
function geval(script) {
eval(script);
(0, eval)(script);
}

/**
Expand Down

0 comments on commit 35b3959

Please sign in to comment.