[Mono-bugs] [Bug 77872][Wis] New - HttpRequest.Url returns url with path info appeared twice

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Mar 22 05:38:40 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 vladimirk at mainsoft.com.


--- shadow/77872	2006-03-22 05:38:39.000000000 -0500
+++ shadow/77872.tmp.4950	2006-03-22 05:38:39.000000000 -0500
@@ -0,0 +1,41 @@
+Bug#: 77872
+Product: Mono: Class Libraries
+Version: 1.1
+OS: Windows XP (Cygwin)
+OS Details: 
+Status: NEW   
+Priority: Wishlist
+Component: Sys.Web
+AssignedTo: gonzalo at ximian.com                            
+ReportedBy: vladimirk at mainsoft.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: HttpRequest.Url returns url with path info appeared twice
+Description of Problem:
+In case of requesting web page with path info, for example:
+HttpRequest.Url will return path with double path info (/foo/foo), if 
+PathInfo property of HttpRequest was called earlier.
+Steps to reproduce the problem:
+public void Requesr_Url_PathInfo ()
+  SimpleWorkerRequest wr = new SimpleWorkerRequest
+("/appDir", "", "page.aspx/pathinfo", "", null);
+  HttpContext c = new HttpContext( wr );
+  string pathInfo = c.Request.PathInfo;
+  Console.WriteLine (c.Request.Url.AbsoluteUri);
+Actual Results:
+Expected Results:

More information about the mono-bugs mailing list