I created an issue + PR: https://issues.apache.org/jira/browse/CAMEL-7868
2014-09-27 10:04 GMT+02:00 Claus Ibsen <[email protected]>: > Hi > > Ah well spotted. You are welcome to log a JIRA ticket and work on a > patch. If you know github then we accept PRs from that. > http://camel.apache.org/contributing.html > > > > On Sat, Sep 27, 2014 at 10:01 AM, kuro <[email protected]> wrote: > > I found a bug. > > > > [source code] > > > https://github.com/apache/camel/blob/camel-2.14.x/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java#L996 > > > > ---------------- > > [bug] > > > > String url = "jetty:%s://%s:%s/%s?httpMethodRestrict=%s"; > > if (!query.isEmpty()) { > > url = url + "?" + query; > > } > > > > ---------------- > > [correction] > > > > String url = "jetty:%s://%s:%s/%s?httpMethodRestrict=%s"; > > if (!query.isEmpty()) { > > url = url + "&" + query; > > } > > > > ---------------- > > > > > > > > > > -- > > View this message in context: > http://camel.465427.n5.nabble.com/bug-restConfiguration-jetty-endpointProperty-tp5757065.html > > Sent from the Camel - Users mailing list archive at Nabble.com. > > > > -- > Claus Ibsen > ----------------- > Red Hat, Inc. > Email: [email protected] > Twitter: davsclaus > Blog: http://davsclaus.com > Author of Camel in Action: http://www.manning.com/ibsen > hawtio: http://hawt.io/ > fabric8: http://fabric8.io/ > -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen
