From 93d3cae034e198e36bf0309aee20eb1ecf124d55 Mon Sep 17 00:00:00 2001 From: Lillith Fox Date: Fri, 10 Jan 2025 14:45:36 -0500 Subject: [PATCH] no way it was that simple. --- VRCAuthProxy/Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/VRCAuthProxy/Program.cs b/VRCAuthProxy/Program.cs index 7ce3858..8e313aa 100644 --- a/VRCAuthProxy/Program.cs +++ b/VRCAuthProxy/Program.cs @@ -3,6 +3,7 @@ using System.Diagnostics; using System.Net; using System.Net.Http.Json; +using System.Net.Security; using System.Net.WebSockets; using System.Text; using System.Web; @@ -218,7 +219,7 @@ app.Use(async (context, next) => // Add non-body headers to message.Headers for GET and other bodyless requests foreach (var header in context.Request.Headers) { - if (header.Key != "Content-Length" && header.Key != "Content-Type" && header.Key != "Content-Disposition") + if (header.Key != "Content-Length" && header.Key != "Content-Type" && header.Key != "Content-Disposition" && header.Key != "Host") { message.Headers.TryAddWithoutValidation(header.Key, header.Value.ToArray()); }