From 58e5ef372a4544337258d9bc914ab09a7ce14d98 Mon Sep 17 00:00:00 2001 From: sta Date: Thu, 13 Sep 2018 20:23:54 +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 7cca940e..15ff8e96 100644 --- a/websocket-sharp/Net/HttpUtility.cs +++ b/websocket-sharp/Net/HttpUtility.cs @@ -425,6 +425,14 @@ namespace WebSocketSharp.Net || c == '~'; } + private static bool isUnreservedInRfc3986 (char c) + { + return c == '-' + || c == '.' + || c == '_' + || c == '~'; + } + private static bool notEncoded (char c) { return c == '!' ||