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:50:39 UTC
[camel] branch camel-2.21.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.21.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.21.x by this push:
new 861f951 CAMEL-13059: camel-olingo2 assumes '/' at end of URI
861f951 is described below
commit 861f9511f4ee7bf0dee9a379f747a80148fd2ca5
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 f1198a0..713369f 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()) {