Skip to content

Commit

Permalink
2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
Browse files Browse the repository at this point in the history
	* HttpRequest.cs: correctly store the value cookies in Params. Fixes
	bug #73345.


svn path=/branches/mono-1-0/mcs/; revision=41617
  • Loading branch information
gonzalop committed Mar 9, 2005
1 parent 5d12cc0 commit 702b407
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions mcs/class/System.Web/System.Web/ChangeLog
@@ -1,3 +1,8 @@
2005-03-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRequest.cs: correctly store the value cookies in Params. Fixes
bug #73345.

2005-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>

* HttpRequest.cs: Path and FilePath also change when RewritePath is
Expand Down
8 changes: 5 additions & 3 deletions mcs/class/System.Web/System.Web/HttpRequest.cs
Expand Up @@ -729,9 +729,11 @@ void FillPostedFiles ()
_oParams.Merge(QueryString);
_oParams.Merge(Form);
_oParams.Merge(ServerVariables);
string [] cookies = Cookies.AllKeys;
foreach (string k in cookies)
_oParams.Add (k, Cookies [k].ToString ());
int count = Cookies.Count;
for (int i = 0; i< count; i++) {
HttpCookie cookie = Cookies [i];
_oParams.Add (cookie.Name, cookie.Value);
}
_oParams.MakeReadOnly();
}

Expand Down

0 comments on commit 702b407

Please sign in to comment.