[Modify] Polish it
This commit is contained in:
parent
78f996b376
commit
07a28d24d5
@ -712,7 +712,7 @@ namespace WebSocketSharp.Net
|
|||||||
string schm = null;
|
string schm = null;
|
||||||
string path = null;
|
string path = null;
|
||||||
|
|
||||||
if (requestUri.StartsWith ("/")) {
|
if (requestUri.IndexOf ('/') == 0) {
|
||||||
path = requestUri;
|
path = requestUri;
|
||||||
}
|
}
|
||||||
else if (requestUri.MaybeUri ()) {
|
else if (requestUri.MaybeUri ()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user