Skip to content
Snippets Groups Projects
Commit a53b47d1 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Fixed encoding issue on sharing

parent 598b650c
No related branches found
No related tags found
No related merge requests found
......@@ -167,7 +167,7 @@ public class VOSpaceClient {
String path = node.getUri().substring(("vos://" + authority).length());
HttpRequest request = getRequest("/nodes" + path + "?recursive=" + recursive)
HttpRequest request = getRequest("/nodes" + urlEncodePath(path) + "?recursive=" + recursive)
.header("Accept", useJson ? "application/json" : "text/xml")
.header("Content-Type", useJson ? "application/json" : "text/xml")
.POST(HttpRequest.BodyPublishers.ofString(marshal(node)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment