[Mono-bugs] [Bug 79506][Maj] Changed - Server.Execute and QueryString Problem

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Nov 23 05:41:47 EST 2006


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 informatique.internet at fiducial.fr.

http://bugzilla.ximian.com/show_bug.cgi?id=79506

--- shadow/79506	2006-09-27 13:07:08.000000000 -0400
+++ shadow/79506.tmp.26792	2006-11-23 05:41:47.000000000 -0500
@@ -1,13 +1,13 @@
 Bug#: 79506
 Product: Mono: Class Libraries
 Version: 1.1
 OS: unknown
 OS Details: 
-Status: RESOLVED   
-Resolution: FIXED
+Status: REOPENED   
+Resolution: 
 Severity: Unknown
 Priority: Major
 Component: Sys.Web
 AssignedTo: gonzalo at ximian.com                            
 ReportedBy: informatique.internet at fiducial.fr               
 QAContact: mono-bugs at ximian.com
@@ -109,6 +109,88 @@
 
 ------- Additional Comments From gonzalo at ximian.com  2006-09-27 13:07 -------
 Changing 'false' to 'true' in the other 1.1 Execute overload was also
 needed to properly fix this.
 Thanks.
 
+
+------- Additional Comments From informatique.internet at fiducial.fr  2006-11-23 05:41 -------
+There's a recent regression with server.Execute and query string...
+Steps to reproduce the problem:
+1. Default.aspx :
+<%@ Page Language="C#" Inherits="TestExecute.Default" %>
+
+Default.aspx.cs
+using System;
+using System.Web;
+using System.Web.UI;
+
+namespace TestExecute
+{
+	
+	public class Default : Page
+	{
+
+		protected override void OnInit(System.EventArgs e)
+		{
+			Server.Execute("./Other.aspx");
+                        Server.Execute("./Other.aspx");
+			Response.Write("<br>QueryString
+:"+Request.QueryString.ToString()+"<br>");
+			Response.Write("Url :"+Request.QueryString["url"]+"<br>");
+		}
+		}
+}
+
+Other.aspx:
+<%@ Page Language="C#" Inherits="TestExecute.Other" %>
+
+Other.aspx.cs : 
+using System;
+using System.Web;
+using System.Web.UI;
+
+namespace TestExecute
+{
+	
+	
+	public class Other : Page
+	{
+		
+		protected override void OnInit(System.EventArgs e)
+		{
+			Response.Write("QueryString (from
+execute):"+Request.QueryString.ToString()+"<br>");
+			Response.Write("Url (from execute)
+:"+Request.QueryString["url"]+"<br>");
+		}
+		
+
+	}
+}
+
+Run xsp and http://127.0.0.1:8080/?url=co
+
+Result
+
+QueryString (from execute):url=co
+Url (from execute) :co
+QueryString (from execute):?url=co
+Url (from execute) :
+
+QueryString :??url=co
+Url :
+
+Earch time a Server.Execute is called it add a "?" in the query string
+so the parameter are unreadable after a Server.Execute...
+
+How often does this happen? 
+Always
+
+Expected result
+QueryString (from execute):url=co
+Url (from execute) :co
+QueryString (from execute):url=co
+Url (from execute) :co
+
+QueryString :url=co
+Url :co


More information about the mono-bugs mailing list