Skip to content
Snippets Groups Projects
Commit 39fc610d authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[fix] Synchro: bad search URL computation

parent da639e71
No related branches found
No related tags found
No related merge requests found
......@@ -198,7 +198,8 @@ public class HttpServiceImpl implements HttpService, Closeable, InitializingBean
}
public String getPath(Peer peer, String... absolutePath) {
return peer.getUrl() + pathJoiner.skipNulls().join(absolutePath).replaceAll("//+", "/");
String path = "/" + pathJoiner.skipNulls().join(absolutePath);
return peer.getUrl() + path.replaceAll("//+", "/");
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment