mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-03 15:15:54 +00:00
exposed Util.escape to views.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3145 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
a959dfd983
commit
318fb582a8
1 file changed
+4
@@ -343,6 +343,10 @@ public class Functions {
|
||||
return Util.encode(s);
|
||||
}
|
||||
|
||||
public static String escape(String s) {
|
||||
return Util.escape(s);
|
||||
}
|
||||
|
||||
public static void adminCheck(StaplerRequest req, StaplerResponse rsp, Object required) throws IOException, ServletException {
|
||||
if(required!=null && !Hudson.adminCheck(req,rsp)) {
|
||||
// check failed
|
||||
|
||||
Reference in new issue
Block a user