Skip to content

Commit

Permalink
Update core/src/main/java/hudson/Functions.java
Browse files Browse the repository at this point in the history
  • Loading branch information
timja authored Sep 16, 2024
1 parent 08a248c commit f3913dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/Functions.java
Original file line number Diff line number Diff line change
Expand Up @@ -2584,7 +2584,7 @@ public static String generateItemId() {
*/
@Restricted(NoExternalUse.class)
public static String translateModifierKeysForUsersPlatform(String keyboardShortcut) {
StaplerRequest currentRequest = Stapler.getCurrentRequest();
StaplerRequest2 currentRequest = Stapler.getCurrentRequest();
currentRequest.getWebApp().getDispatchValidator().allowDispatch(currentRequest, Stapler.getCurrentResponse());
String userAgent = currentRequest.getHeader("User-Agent");

Expand Down

0 comments on commit f3913dd

Please sign in to comment.