[Modify] Do not decode

This commit is contained in:
sta 2018-11-17 21:39:02 +09:00
parent f2ceac67a4
commit 656a3e3839

View File

@ -409,7 +409,7 @@ namespace WebSocketSharp.Server
internal void Add<TBehavior> (string path, Func<TBehavior> creator) internal void Add<TBehavior> (string path, Func<TBehavior> creator)
where TBehavior : WebSocketBehavior where TBehavior : WebSocketBehavior
{ {
path = HttpUtility.UrlDecode (path).TrimSlashFromEnd (); path = path.TrimSlashFromEnd ();
lock (_sync) { lock (_sync) {
WebSocketServiceHost host; WebSocketServiceHost host;