[Fix] Don't remove the end slash

This commit is contained in:
sta 2016-06-05 16:51:09 +09:00
parent 7f1115e427
commit be55a3112d

View File

@ -137,9 +137,7 @@ namespace WebSocketSharp.Net
_port = _secure ? "443" : "80";
}
var path = uriPrefix.Substring (root);
var pathLen = path.Length;
_path = pathLen > 1 ? path.Substring (0, pathLen - 1) : path;
_path = uriPrefix.Substring (root);
}
#endregion