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 2018/12/22 21:33:09 UTC
[camel] branch camel-2.22.x updated: CAMEL-13008: Odata-connector
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 f59ae77 CAMEL-13008: Odata-connector assumes '/' at end of URI
f59ae77 is described below
commit f59ae7735816544477ce599529200ebe4aeba92e
Author: Dmitry Volodin <dm...@gmail.com>
AuthorDate: Thu Dec 20 16:40:20 2018 +0300
CAMEL-13008: Odata-connector assumes '/' at end of URI
---
.../org/apache/camel/component/olingo4/api/impl/Olingo4AppImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/components/camel-olingo4/camel-olingo4-api/src/main/java/org/apache/camel/component/olingo4/api/impl/Olingo4AppImpl.java b/components/camel-olingo4/camel-olingo4-api/src/main/java/org/apache/camel/component/olingo4/api/impl/Olingo4AppImpl.java
index 62bc8ab..30bac11 100644
--- a/components/camel-olingo4/camel-olingo4-api/src/main/java/org/apache/camel/component/olingo4/api/impl/Olingo4AppImpl.java
+++ b/components/camel-olingo4/camel-olingo4-api/src/main/java/org/apache/camel/component/olingo4/api/impl/Olingo4AppImpl.java
@@ -778,7 +778,7 @@ public final class Olingo4AppImpl implements Olingo4App {
final StringBuilder absolutUri = new StringBuilder(resourceUri).append(SEPARATOR).append(resourcePath);
if (queryOptions != null && !queryOptions.isEmpty()) {
- absolutUri.append("/?" + queryOptions);
+ absolutUri.append("?" + queryOptions);
}
return absolutUri.toString();