From 713c92f6a80d5e7c77f51ba75b365037d6399c27 Mon Sep 17 00:00:00 2001 From: Sky Swimmer Date: Thu, 12 Oct 2023 15:32:03 +0200 Subject: [PATCH] Improve request --- .../ServerListPublisherComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PX Framework/Server/Phoenix.Server.Components.ServerlistPublisher/ServerListPublisherComponent.cs b/PX Framework/Server/Phoenix.Server.Components.ServerlistPublisher/ServerListPublisherComponent.cs index 26c35a0..fc5046b 100644 --- a/PX Framework/Server/Phoenix.Server.Components.ServerlistPublisher/ServerListPublisherComponent.cs +++ b/PX Framework/Server/Phoenix.Server.Components.ServerlistPublisher/ServerListPublisherComponent.cs @@ -238,7 +238,7 @@ public override void StartServer() // Write request byte[] d = Encoding.UTF8.GetBytes(JsonConvert.SerializeObject(data)); - strm.Write(Encoding.UTF8.GetBytes("POST " + WebUtility.UrlEncode(u.PathAndQuery) + " HTTP/1.1\r\n")); + strm.Write(Encoding.UTF8.GetBytes("POST " + u.PathAndQuery + " HTTP/1.1\r\n")); strm.Write(Encoding.UTF8.GetBytes("X-Request-ID: " + Guid.NewGuid().ToString() + "\r\n")); strm.Write(Encoding.UTF8.GetBytes("X-Request-RNDID: " + Guid.NewGuid().ToString() + "\r\n")); strm.Write(Encoding.UTF8.GetBytes("Upgrade: PHOENIXSERVERLISTCLIENT\r\n"));