[Mono-bugs] [Bug 76779][Min] New - Error converting Querystring object to string

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Nov 21 05:48:09 EST 2005

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gallarr at hotmail.com.


--- shadow/76779	2005-11-21 05:48:09.000000000 -0500
+++ shadow/76779.tmp.6370	2005-11-21 05:48:09.000000000 -0500
@@ -0,0 +1,51 @@
+Bug#: 76779
+Product: Mono: Runtime
+Version: 1.0
+OS Details: 
+Status: NEW   
+Priority: Minor
+Component: io-layer
+AssignedTo: dick at ximian.com                            
+ReportedBy: gallarr at hotmail.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Error converting Querystring object to string
+Description of Problem:
+When you convert a Querystring object to string in Mono 1.1.10 via the
+ToString method you get the text "System.Web.WebROCollection" instead of
+the Querystring value itself. In mono you would get the Querystring
+text instead
+Steps to reproduce the problem:
+1. this would be the default page "default.aspx", coded in C#
+//this is the code that redirects from "default.aspx" to the actual main
+page, "main/home.aspx"
+string strParameters="";
+	strParameters="?"+Request.QueryString.ToString();
+Response.Redirect("main/home.aspx" + strParameters);
+2. After compiling, open this URL at the web browser
+Actual Results:
+you get at the browser's address bar
+Expected Results:
+http://localhost/main/home.aspx?e=1&a=2 (in mono you would get this)
+How often does this happen? 
+Additional Information:
+This is not necessarily wrong, but annoying (in Windows you always get the
+values, not the "collection"). I think this is a mono bug, not an xsp one.
+Correct it if I'm wrong, or tell me to do it, no big deal.

More information about the mono-bugs mailing list