Repository: marmotta
Updated Branches:
  refs/heads/develop e556ade89 -> 8f32c8179


fixed bug introduced by 50955473


Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/8f32c817
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/8f32c817
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/8f32c817

Branch: refs/heads/develop
Commit: 8f32c8179b40cce72b4f240a71eaa2edd309c009
Parents: e556ade
Author: Sergio Fernández <[email protected]>
Authored: Fri Oct 31 12:10:38 2014 +0100
Committer: Sergio Fernández <[email protected]>
Committed: Fri Oct 31 12:10:38 2014 +0100

----------------------------------------------------------------------
 .../src/main/java/org/apache/marmotta/client/util/HTTPUtil.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/marmotta/blob/8f32c817/client/marmotta-client-java/src/main/java/org/apache/marmotta/client/util/HTTPUtil.java
----------------------------------------------------------------------
diff --git 
a/client/marmotta-client-java/src/main/java/org/apache/marmotta/client/util/HTTPUtil.java
 
b/client/marmotta-client-java/src/main/java/org/apache/marmotta/client/util/HTTPUtil.java
index c2cbd4d..662b73d 100644
--- 
a/client/marmotta-client-java/src/main/java/org/apache/marmotta/client/util/HTTPUtil.java
+++ 
b/client/marmotta-client-java/src/main/java/org/apache/marmotta/client/util/HTTPUtil.java
@@ -86,7 +86,8 @@ public class HTTPUtil {
     }
 
     public static HttpPost createPost(String path, ClientConfiguration config) 
throws URISyntaxException {
-        final URIBuilder uriBuilder = new 
URIBuilder(config.getMarmottaUri()).setPath(path);
+        final URIBuilder uriBuilder = new URIBuilder(config.getMarmottaUri());
+        uriBuilder.setPath(uriBuilder.getPath() + path);
 
         if (StringUtils.isNotBlank(config.getMarmottaContext())) {
             uriBuilder.addParameter(CONTEXT, config.getMarmottaContext());

Reply via email to