We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3829fd commit ab6339aCopy full SHA for ab6339a
websocket-sharp/Net/HttpListenerPrefix.cs
@@ -126,7 +126,10 @@ private void parse (string uriPrefix)
126
127
var len = uriPrefix.Length;
128
var hostStartIdx = uriPrefix.IndexOf (':') + 3;
129
- var rootIdx = uriPrefix.IndexOf ('/', hostStartIdx + 1, len - hostStartIdx - 1);
+
130
+ var rootIdx = uriPrefix
131
+ .IndexOf ('/', hostStartIdx + 1, len - hostStartIdx - 1);
132
133
var colonIdx = uriPrefix
134
.LastIndexOf (':', rootIdx - 1, rootIdx - hostStartIdx - 1);
135
0 commit comments