summaryrefslogtreecommitdiff
path: root/mcs/class/System.Web/System.Web/HttpUtility.cs
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/System.Web/System.Web/HttpUtility.cs')
-rw-r--r--mcs/class/System.Web/System.Web/HttpUtility.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/System.Web/System.Web/HttpUtility.cs b/mcs/class/System.Web/System.Web/HttpUtility.cs
index e79883d1e1..e05ae9761b 100644
--- a/mcs/class/System.Web/System.Web/HttpUtility.cs
+++ b/mcs/class/System.Web/System.Web/HttpUtility.cs
@@ -654,7 +654,7 @@ namespace System.Web {
if (encoding == null)
throw new ArgumentNullException ("encoding");
if (query.Length == 0 || (query.Length == 1 && query[0] == '?'))
- return new NameValueCollection ();
+ return new HttpQSCollection ();
if (query[0] == '?')
query = query.Substring (1);