camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kuro <962...@gmail.com>
Subject [bug]restConfiguration - jetty - endpointProperty
Date Sat, 27 Sep 2014 08:01:56 GMT
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.

Mime
View raw message