camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [1/5] git commit: CAMEL-7868: Fix concatenation of params to url
Date Sat, 27 Sep 2014 11:14:20 GMT
Repository: camel
Updated Branches:
  refs/heads/camel-2.14.x 96f9ab895 -> 49dccc13d
  refs/heads/master 61f9e83b4 -> 3eb922edd


CAMEL-7868: Fix concatenation of params to url


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/0aaa3ee2
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/0aaa3ee2
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/0aaa3ee2

Branch: refs/heads/master
Commit: 0aaa3ee2a57093588b42c1abd0151e77608c2115
Parents: 61f9e83
Author: david <david@davidkarlsen.com>
Authored: Sat Sep 27 10:30:49 2014 +0200
Committer: david <david@davidkarlsen.com>
Committed: Sat Sep 27 10:30:49 2014 +0200

----------------------------------------------------------------------
 .../java/org/apache/camel/component/jetty/JettyHttpComponent.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/0aaa3ee2/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
----------------------------------------------------------------------
diff --git a/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
b/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
index 0c51eb6d..d006577 100644
--- a/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
+++ b/components/camel-jetty/src/main/java/org/apache/camel/component/jetty/JettyHttpComponent.java
@@ -995,7 +995,7 @@ public class JettyHttpComponent extends HttpComponent implements RestConsumerFac
 
         String url = "jetty:%s://%s:%s/%s?httpMethodRestrict=%s";
         if (!query.isEmpty()) {
-            url = url + "?" + query;
+            url = url + "&" + query;
         }
 
         // must use upper case for restrict


Mime
View raw message