From 50e062c7ffcbf82fd52229edcd16b9828b522add Mon Sep 17 00:00:00 2001 From: sta Date: Wed, 12 Sep 2018 20:36:06 +0900 Subject: [PATCH] [Modify] Add it --- websocket-sharp/Net/HttpUtility.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/websocket-sharp/Net/HttpUtility.cs b/websocket-sharp/Net/HttpUtility.cs index 45c9b8f3..6772f666 100644 --- a/websocket-sharp/Net/HttpUtility.cs +++ b/websocket-sharp/Net/HttpUtility.cs @@ -404,6 +404,14 @@ namespace WebSocketSharp.Net return c >= '0' && c <= '9'; } + private static bool isUnreserved (char c) + { + return c == '*' + || c == '-' + || c == '.' + || c == '_'; + } + private static bool notEncoded (char c) { return c == '!' ||