Integrated methods to parse query string

This commit is contained in:
sta
2014-06-03 11:34:18 +09:00
parent fa01992fa1
commit dd3cd23ac3
5 changed files with 37 additions and 97 deletions

View File

@@ -337,12 +337,12 @@ namespace WebSocketSharp.Net
/// Gets the query string included in the request.
/// </summary>
/// <value>
/// A <see cref="NameValueCollection"/> that contains the query string parameters
/// included in the request.
/// A <see cref="NameValueCollection"/> that contains the query string parameters.
/// </value>
public NameValueCollection QueryString {
get {
return _queryString ?? (_queryString = HttpUtility.ParseQueryStringSimply (_url.Query));
return _queryString ??
(_queryString = HttpUtility.ParseQueryStringInternally (_url.Query, Encoding.UTF8));
}
}