[Modify] Remove it
This commit is contained in:
parent
455fa52e1f
commit
0fa08bcb42
@ -1119,22 +1119,6 @@ namespace WebSocketSharp.Net
|
||||
return urlEncodeToBytes (bytes, 0, bytes.Length);
|
||||
}
|
||||
|
||||
public static string UrlPathEncode (string s)
|
||||
{
|
||||
if (s == null)
|
||||
throw new ArgumentNullException ("s");
|
||||
|
||||
if (s.Length == 0)
|
||||
return s;
|
||||
|
||||
var buff = new StringBuilder ();
|
||||
|
||||
foreach (var c in s)
|
||||
urlPathEncode (c, buff);
|
||||
|
||||
return buff.ToString ();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user