mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-26 19:15:09 +00:00
Update core/src/main/java/hudson/Functions.java
This commit is contained in:
1 parent
08a248cd00
commit
f3913dd62c
1 file changed
+1
-1
@@ -2584,7 +2584,7 @@ public class Functions {
|
||||
*/
|
||||
@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");
|
||||
|
||||
|
||||
Reference in new issue
Block a user