You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dm...@apache.org on 2019/01/15 09:53:57 UTC
[camel] branch camel-2.22.x updated: CAMEL-13059: camel-olingo2
assumes '/' at end of URI
This is an automated email from the ASF dual-hosted git repository.
dmvolod pushed a commit to branch camel-2.22.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.22.x by this push:
new 5172965 CAMEL-13059: camel-olingo2 assumes '/' at end of URI
5172965 is described below
commit 51729652c2151862a2bda1c247a35772240b5b73
Author: Dmitry Volodin <dm...@gmail.com>
AuthorDate: Tue Jan 15 12:40:14 2019 +0300
CAMEL-13059: camel-olingo2 assumes '/' at end of URI
---
.../org/apache/camel/component/olingo2/api/impl/Olingo2AppImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-olingo2/camel-olingo2-api/src/main/java/org/apache/camel/component/olingo2/api/impl/Olingo2AppImpl.java b/components/camel-olingo2/camel-olingo2-api/src/main/java/org/apache/camel/component/olingo2/api/impl/Olingo2AppImpl.java
index eb1537e..adf7d99 100644
--- a/components/camel-olingo2/camel-olingo2-api/src/main/java/org/apache/camel/component/olingo2/api/impl/Olingo2AppImpl.java
+++ b/components/camel-olingo2/camel-olingo2-api/src/main/java/org/apache/camel/component/olingo2/api/impl/Olingo2AppImpl.java
@@ -1014,7 +1014,7 @@ public final class Olingo2AppImpl implements Olingo2App {
final StringBuilder absolutUri = new StringBuilder(serviceUri).append(SEPARATOR).append(resourcePath);
if (queryParams != null && !queryParams.isEmpty()) {
- absolutUri.append("/?");
+ absolutUri.append("?");
int nParams = queryParams.size();
int index = 0;
for (Map.Entry<String, String> entry : queryParams.entrySet()) {