[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.
http://bugzilla.ximian.com/show_bug.cgi?id=76779
--- 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:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Minor
+Component: io-layer
+AssignedTo: dick at ximian.com
+ReportedBy: gallarr at hotmail.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+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 1.1.8.3 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="";
+if(Request.QueryString.ToString()!="")
+ strParameters="?"+Request.QueryString.ToString();
+Response.Redirect("main/home.aspx" + strParameters);
+
+2. After compiling, open this URL at the web browser
+http://localhost/default.aspx?e=1&a=2
+
+Actual Results:
+you get at the browser's address bar
+http://localhost/main/home.aspx?System.Web.WebROCollection
+
+Expected Results:
+http://localhost/main/home.aspx?e=1&a=2 (in mono 1.1.8.3 you would get this)
+
+How often does this happen?
+Always
+
+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