[Fix] Don't remove the end slash
This commit is contained in:
parent
7f1115e427
commit
be55a3112d
@ -137,9 +137,7 @@ namespace WebSocketSharp.Net
|
|||||||
_port = _secure ? "443" : "80";
|
_port = _secure ? "443" : "80";
|
||||||
}
|
}
|
||||||
|
|
||||||
var path = uriPrefix.Substring (root);
|
_path = uriPrefix.Substring (root);
|
||||||
var pathLen = path.Length;
|
|
||||||
_path = pathLen > 1 ? path.Substring (0, pathLen - 1) : path;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
Loading…
Reference in New Issue
Block a user