[Modify] Add it
This commit is contained in:
parent
d5dddf5a89
commit
c53ec8dc08
@ -61,6 +61,17 @@ namespace WebSocketSharp.Net
|
||||
|
||||
#endregion
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private static string urlDecode (string s, Encoding encoding)
|
||||
{
|
||||
return s.IndexOfAny (new[] { '%', '+' }) > -1
|
||||
? HttpUtility.UrlDecode (s, encoding)
|
||||
: s;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Public Methods
|
||||
|
||||
public static QueryStringCollection Parse (string query)
|
||||
|
Loading…
Reference in New Issue
Block a user