Skip to content

Commit

Permalink
Update to fix for Novell bug #739119
Browse files Browse the repository at this point in the history
  • Loading branch information
grendello committed Jul 25, 2012
1 parent 2ab1a05 commit c3e088b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mcs/class/System.Web/System.Web.UI/Page.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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 <string, string> (StringComparer.Ordinal);
Expand Down Expand Up @@ -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]);
}
}
Expand Down

0 comments on commit c3e088b

Please sign in to comment.