mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-11-14 22:43:57 +00:00
using java.net.URLEncoder.encode to encode UUID parameter to startToReplicateFrom method
Change-Id: I6af165b62a09fbd28d59830b3bf910ab34f985e7
This commit is contained in:
1 parent
f12f3d5f82
commit
bfb9ecb9b5
1 file changed
+2
-1
+2
-1
@@ -78,7 +78,8 @@ public class ReplicationMasterDescriptorImpl implements ReplicationMasterDescrip
|
||||
UnsupportedEncodingException {
|
||||
return new URL("http", getHostname(), servletPort, REPLICATION_SERVLET + "?" + ReplicationServlet.ACTION + "="
|
||||
+ ReplicationServlet.Action.REGISTER.name() + "&" + ReplicationServlet.SERVER_UUID + "="
|
||||
+ uuid.toString() + "&" + ReplicationServlet.ADDITIONAL_INFORMATION + "="
|
||||
+ java.net.URLEncoder.encode(uuid.toString(), "UTF-8") + "&"
|
||||
+ ReplicationServlet.ADDITIONAL_INFORMATION + "="
|
||||
+ java.net.URLEncoder.encode(ServerInfo.getBuildVersion(), "UTF-8"));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user