-
Task
-
Resolution: Unresolved
-
Minor
Problems
== Inline Event Handler Line: 79 ---- <button class="resend-otp" method="post" action="./resendOtp" id="resendOTPForm" onclick="document.getElementById('resendOTPForm').submit();"> ---- == Inline Event Handler Line: 85 ---- <button class="resend-otp" method="post" action="./resendOtp" id="resendOTPForm" onclick="document.getElementById('resendOTPForm').submit();"> ----
Solution
https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers
[JENKINS-74395] [miniorange-two-factor] Extract inline event handlers in io/jenkins/plugins/twofactor/jenkins/tfaMethodsAuth/MoOtpOverEmailAuth/index.jelly
Description |
Original:
h4. Problems {noformat} == Inline Event Handler Line: 79 ---- <button class="resend-otp" method="post" action="./resendOtp" id="resendOTPForm" onclick="document.getElementById('resendOTPForm').submit();"> ---- == Inline Event Handler Line: 85 ---- <button class="resend-otp" method="post" action="./resendOtp" id="resendOTPForm" onclick="document.getElementById('resendOTPForm').submit();"> ---- == Inline Event Handler Line: 79 ---- <button class="resend-otp" method="post" action="./resendOtp" id="resendOTPForm" onclick="document.getElementById('resendOTPForm').submit();"> ---- == Inline Event Handler Line: 85 ---- <button class="resend-otp" method="post" action="./resendOtp" id="resendOTPForm" onclick="document.getElementById('resendOTPForm').submit();"> ---- {noformat} h4. Solution [https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers] |
New:
h4. Problems {noformat} == Inline Event Handler Line: 79 ---- <button class="resend-otp" method="post" action="./resendOtp" id="resendOTPForm" onclick="document.getElementById('resendOTPForm').submit();"> ---- == Inline Event Handler Line: 85 ---- <button class="resend-otp" method="post" action="./resendOtp" id="resendOTPForm" onclick="document.getElementById('resendOTPForm').submit();"> ---- {noformat} h4. Solution [https://www.jenkins.io/doc/developer/security/csp/#inline-event-handlers] |