[Mono-bugs] [Bug 80091][Nor] New - HttpListener has too strict URL identification
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Nov 29 22:55:05 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 atsushi at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80091
--- shadow/80091 2006-11-29 22:55:05.000000000 -0500
+++ shadow/80091.tmp.18041 2006-11-29 22:55:05.000000000 -0500
@@ -0,0 +1,36 @@
+Bug#: 80091
+Product: Mono: Class Libraries
+Version: 1.2
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: System
+AssignedTo: gonzalo at ximian.com
+ReportedBy: atsushi at ximian.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: HttpListener has too strict URL identification
+
+With the example below, HttpListener does not allow access to
+http://localhost:8080/a while http://localhost:8080/a/ is accessible
+(note that latter has trailing '/').
+
+--------
+using System;
+using System.Net;
+
+public class Test
+{
+ public static void Main ()
+ {
+ HttpListener l1 = new HttpListener ();
+ l1.Prefixes.Add ("http://localhost:8080/a/");
+ l1.Start ();
+ l1.GetContext ().Response.Close ();
+ }
+}
More information about the mono-bugs
mailing list