From 4b8952e438da8e57d6442a0b7451dac8060f154b Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Mon, 23 Aug 2021 09:35:03 +0100 Subject: Use more URL-Encoding when sending API requests. --- src/Protocol/MojangAPI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Protocol/MojangAPI.cpp') diff --git a/src/Protocol/MojangAPI.cpp b/src/Protocol/MojangAPI.cpp index 244052a36..6b8999216 100644 --- a/src/Protocol/MojangAPI.cpp +++ b/src/Protocol/MojangAPI.cpp @@ -783,7 +783,7 @@ void cMojangAPI::QueryUUIDToProfile(const cUUID & a_UUID) { // Create the request address: AString Address = m_UUIDToProfileAddress; - ReplaceString(Address, "%UUID%", a_UUID.ToShortString()); + ReplaceURL(Address, "%UUID%", a_UUID.ToShortString()); // Create the HTTP request: AString Request; -- cgit v1.2.3