I just put a guard around this URI.create call for 2.7.7-SNAPSHOT. Thus, 2.7.7 should "fix" this particular issue.
Dan On Sep 6, 2013, at 12:57 PM, bhaskerhari <[email protected]> wrote: > I am having an issue with the REST request urls that my clients send. We > allow xml tags and "|" characters in our request urls. But this is throwing > an error:- > > java.lang.IllegalArgumentException > java.net.URI.create(URI.java:841) > > org.apache.cxf.javascript.JavascriptQueryHandler.isRecognizedQuery(JavascriptQueryHandler.java:86) > > org.apache.cxf.javascript.JavascriptQueryHandler.isRecognizedQuery(JavascriptQueryHandler.java:168) > > org.apache.cxf.transport.servlet.ServletController.findQueryHandler(ServletController.java:242) > > org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:194) > > org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137) > > org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:158) > > This was working fine with older versions of CXF, may be because > JavascriptQueryHandler was not available in the very old versions of CXF. > > Tried setting the URIEncoding at tomcat end, but it does not work. > > So is there a way to tell CXF not to use > org.apache.cxf.javascript.JavascriptQueryHandler for the request? Or a way > to come up with a custom JavascriptQueryHandler so that I do URIEncoding > before I call isRecognizedQuery? > > Or a way to do tell CXF to do URIEncoding of my requests? > > > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/Is-there-a-way-to-suppress-the-usage-of-org-apache-cxf-javascript-JavascriptQueryHandler-for-my-JAX--tp5733646.html > Sent from the cxf-user mailing list archive at Nabble.com. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
