[Mono-bugs] [Bug 81701][Nor] Changed - Fix to allow HttpClientChannel to connect to xsp2 using https

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue May 22 04:01:15 EDT 2007


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 robertj at gmx.net.

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

--- shadow/81701	2007-05-22 00:51:22.000000000 -0400
+++ shadow/81701.tmp.29495	2007-05-22 04:01:15.000000000 -0400
@@ -30,6 +30,23 @@
 
 if(URL.StartsWith("http://") | URL.StartsWith("https://"))
 
 ------- Additional Comments From admin at svwebhosting.com  2007-05-22 00:51 -------
 I would like to add that I have compiled and tested this modification
 and it works.
+
+------- Additional Comments From robertj at gmx.net  2007-05-22 04:01 -------
+This is not enough. Maybe we don't have a test case for this,
+but if you look at HttpUtil.Parse, you'll see that
+URL.IndexOf ("/", 7) is not correct anymore. This leads to
+wrong object URIs.
+
+A test case could be a MBR like that:
+
+public class MBR : MarshalByRefObject
+{
+    public MBR Test ()
+    {
+        return new MBR ();
+    }
+}
+


More information about the mono-bugs mailing list