From 07a28d24d529783c408ee76c4e32c602c701170d Mon Sep 17 00:00:00 2001 From: sta Date: Thu, 17 Jan 2019 21:28:10 +0900 Subject: [PATCH] [Modify] Polish it --- websocket-sharp/Net/HttpUtility.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket-sharp/Net/HttpUtility.cs b/websocket-sharp/Net/HttpUtility.cs index 2e99252b..b6455578 100644 --- a/websocket-sharp/Net/HttpUtility.cs +++ b/websocket-sharp/Net/HttpUtility.cs @@ -712,7 +712,7 @@ namespace WebSocketSharp.Net string schm = null; string path = null; - if (requestUri.StartsWith ("/")) { + if (requestUri.IndexOf ('/') == 0) { path = requestUri; } else if (requestUri.MaybeUri ()) {