[Modify] Polish it

This commit is contained in:
sta 2019-01-17 21:28:10 +09:00
parent 78f996b376
commit 07a28d24d5

View File

@ -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 ()) {