From 049bb49f1c5b650166de2a266bc1879c5def0190 Mon Sep 17 00:00:00 2001 From: Marek Habersack Date: Wed, 25 Jul 2012 08:42:09 -0400 Subject: [PATCH] Update to fix for Novell bug #739119 --- mcs/class/System.Web/System.Web.UI/Page.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mcs/class/System.Web/System.Web.UI/Page.cs b/mcs/class/System.Web/System.Web.UI/Page.cs index 989af7e..b2316a4 100644 --- a/mcs/class/System.Web/System.Web.UI/Page.cs +++ b/mcs/class/System.Web/System.Web.UI/Page.cs @@ -1175,7 +1175,7 @@ internal void OnFormPostRender (HtmlTextWriter writer, string formUniqueID) void ProcessPostData (NameValueCollection data, bool second) { - NameValueCollection requestValues = _requestValueCollection == null ? new NameValueCollection () : _requestValueCollection; + NameValueCollection requestValues = _requestValueCollection == null ? new NameValueCollection (SecureHashCodeProvider.DefaultInvariant, CaseInsensitiveComparer.DefaultInvariant) : _requestValueCollection; if (data != null && data.Count > 0) { var used = new Dictionary (StringComparer.Ordinal); @@ -1210,7 +1210,7 @@ void ProcessPostData (NameValueCollection data, bool second) } else if (!second) { if (secondPostData == null) - secondPostData = new NameValueCollection (); + secondPostData = new NameValueCollection (SecureHashCodeProvider.DefaultInvariant, CaseInsensitiveComparer.DefaultInvariant); secondPostData.Add (id, data [id]); } } -- 1.7.10