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

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Sep 27 08:49:52 EDT 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 08:49:52.000000000 -0400
+++ shadow/79506.tmp.16763	2006-09-27 08:49:52.000000000 -0400
@@ -0,0 +1,85 @@
+Bug#: 79506
+Product: Mono: Class Libraries
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Major
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: informatique.internet at fiducial.fr               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Server.Execute and QueryString Problem
+
+Description of Problem:
+When you call a Server.Execute the querystring is not transmitted to the page
+
+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");
+			Response.Write("QueryString :"+Request.QueryString.ToString()+"<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>");
+		}
+		
+
+	}
+}
+
+2. Run xsp and http://127.0.0.1:8090/?id=qsd
+
+Actual Results:
+On Mono (svn)
+QueryString (from execute):<br>QueryString :?id=qsd<br>
+
+
+Expected Results:
+On MS.NET :
+
+QueryString (from execute):?id=qsd<br>QueryString :?id=qsd<br>
+
+How often does this happen? 
+Always
+
+Additional Information:


More information about the mono-bugs mailing list