From 5b08d5358e7d5abc2b11f91182f5c55fb00ecd88 Mon Sep 17 00:00:00 2001 From: sta Date: Sat, 15 Dec 2018 17:24:52 +0900 Subject: [PATCH] [Modify] Polish it --- websocket-sharp/Net/CookieCollection.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/websocket-sharp/Net/CookieCollection.cs b/websocket-sharp/Net/CookieCollection.cs index 417b8fd0..fc9df33c 100644 --- a/websocket-sharp/Net/CookieCollection.cs +++ b/websocket-sharp/Net/CookieCollection.cs @@ -406,10 +406,7 @@ namespace WebSocketSharp.Net private static string urlDecode (string s, Encoding encoding) { if (s == null) - return s; - - if (s.Length == 0) - return s; + return null; if (s.IndexOfAny (new[] { '%', '+' }) == -1) return s;