On 15/12/2016 21:48, Martin Grigorov wrote: > Hi Mark, > > On Thu, Dec 15, 2016 at 10:34 PM, <ma...@apache.org> wrote: > >> Author: markt >> Date: Thu Dec 15 21:34:06 2016 >> New Revision: 1774526 >> >> URL: http://svn.apache.org/viewvc?rev=1774526&view=rev >> Log: >> Add a new encoding detector implementation. >> The BoM encoding detection is based in the previous code. >> The prolog encoding detection delegates to the JRE's XM<L parser rather >> than the custom Jasper parser.
<snip/> >> Modified: tomcat/trunk/java/org/apache/jasper/security/ >> SecurityClassLoad.java >> URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/ >> jasper/security/SecurityClassLoad.java?rev=1774526&r1=1774525&r2=1774526& >> view=diff >> ============================================================ >> ================== >> --- tomcat/trunk/java/org/apache/jasper/security/SecurityClassLoad.java >> (original) >> +++ tomcat/trunk/java/org/apache/jasper/security/SecurityClassLoad.java >> Thu Dec 15 21:34:06 2016 >> @@ -39,6 +39,10 @@ public final class SecurityClassLoad { >> >> final String basePackage = "org.apache.jasper."; >> try { >> + // Ensure XMLInputFactory is loaded with Tomcat's class loader >> + loader.loadClass( basePackage + >> + "comppiler.EncodingDetector"); >> > > There is one 'p' too much in "comppiler.EncodingDetector Thanks. Fixed. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org