anchor.diff:  	<cffunction access="public" returntype="String" name="encodeForJavaScript" output="false">
   		<cfargument type="String" name="input" required="true">
   		<cfscript>
  -	    	return createObject("java", "org.owasp.esapi.codecs.JavaScriptCodec").init().encode(static.IMMUNE_JAVASCRIPT, arguments.input);
  +	    	return createObject("java", "org.owasp.esapi.codecs.JavaScriptCodec").init().encode(static.IMMUNE_JAVASCRIPT, javaCast("string", arguments.input));
   		</cfscript>
   	</cffunction>
   
  
positive.code: 		<cfargument type="String" name="input" required="true">
  		<cfscript>
  	    	try {
  				return createObject("java", "java.net.URLEncoder").encode(arguments.input, instance.ESAPI.securityConfiguration().getCharacterEncoding());
  			} catch (java.io.UnsupportedEncodingException ex) {
  				cfex = createObject("component", "cfesapi.org.owasp.esapi.errors.EncodingException").init(instance.ESAPI, "Encoding failure", "Character encoding not supported", ex);
             		throw(type=cfex.getType(), message=cfex.getUserMessage(), detail=cfex.getLogMessage());
  
negative.code: 		<cfargument type="any" name="codec" required="true" hint="org.owasp.esapi.codecs.Codec">
  		<cfargument type="String" name="input" required="true">
  		<cfscript>
  		    return arguments.codec.encode(static.IMMUNE_SQL, javaCast("string", arguments.input));
  		</cfscript>
  	</cffunction>
  
  