mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-31 05:25:25 +00:00
exposed escape()
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@2331 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
c7c80705e9
commit
6f4040c15f
1 file changed
+4
@@ -321,4 +321,8 @@ public class Functions {
|
||||
if(s==null) return false;
|
||||
return s.indexOf('\r')>=0 || s.indexOf('\n')>=0;
|
||||
}
|
||||
|
||||
public static String encode(String s) {
|
||||
return Util.encode(s);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user