From da5e0235b810ccf848966e635fabb6048ae7f963 Mon Sep 17 00:00:00 2001 From: sta Date: Mon, 23 Mar 2020 19:48:39 +0900 Subject: [PATCH] [Modify] Polish 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 d035c3ef..2bb22cc0 100644 --- a/websocket-sharp/Net/WebHeaderCollection.cs +++ b/websocket-sharp/Net/WebHeaderCollection.cs @@ -1359,7 +1359,9 @@ namespace WebSocketSharp.Net /// public static bool IsRestricted (string headerName) { - return isRestricted (checkName (headerName), false); + headerName = checkName (headerName); + + return isRestricted (headerName, false); } ///