From 94ca3ee723e9ec6dfecf7c6f473460f2ffada787 Mon Sep 17 00:00:00 2001 From: sta Date: Wed, 14 Oct 2020 20:00:03 +0900 Subject: [PATCH] [Modify] Replace it --- websocket-sharp/Net/EndPointListener.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket-sharp/Net/EndPointListener.cs b/websocket-sharp/Net/EndPointListener.cs index d7ba2af9..088057f9 100644 --- a/websocket-sharp/Net/EndPointListener.cs +++ b/websocket-sharp/Net/EndPointListener.cs @@ -312,7 +312,7 @@ namespace WebSocketSharp.Net if (len < bestLen) continue; - if (path.StartsWith (prefPath)) { + if (path.StartsWith (prefPath, StringComparison.Ordinal)) { bestLen = len; ret = pref.Listener; }