From d6c696bf2936cf4debafebc453e3c1cef498a4cc Mon Sep 17 00:00:00 2001 From: sta Date: Thu, 4 Jun 2020 19:40:15 +0900 Subject: [PATCH] [Modify] Replace it --- websocket-sharp/Net/WebHeaderCollection.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/websocket-sharp/Net/WebHeaderCollection.cs b/websocket-sharp/Net/WebHeaderCollection.cs index 5b85fc7a..1d8a9f3c 100644 --- a/websocket-sharp/Net/WebHeaderCollection.cs +++ b/websocket-sharp/Net/WebHeaderCollection.cs @@ -1713,7 +1713,9 @@ namespace WebSocketSharp.Net { name = checkName (name); - checkRestricted (name); + var headerType = getHeaderType (name); + + checkRestricted (name, headerType); checkAllowed (name); base.Remove (name); }