001    package railo.runtime.functions.owasp;
002    
003    import railo.runtime.PageContext;
004    import railo.runtime.ext.function.Function;
005    
006    public class Canonicalize implements Function {
007    
008            private static final long serialVersionUID = -4248746351014698481L;
009    
010            public static String call(PageContext pc,String input, boolean restrictMultiple, boolean restrictMixed) {
011                    return ESAPIEncode.canonicalize(input, restrictMultiple,restrictMixed);
012            }
013    }