[Modify] Do not decode
This commit is contained in:
parent
f2ceac67a4
commit
656a3e3839
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user