[Mono-bugs] [Bug 76725][Nor] New - Monodoc uris aren't valid (uri-wise)

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Nov 16 10:32:24 EST 2005

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 sebastien at ximian.com.


--- shadow/76725	2005-11-16 10:32:24.000000000 -0500
+++ shadow/76725.tmp.12206	2005-11-16 10:32:24.000000000 -0500
@@ -0,0 +1,58 @@
+Bug#: 76725
+Product: Mono: Doctools
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Priority: Normal
+Component: Core
+AssignedTo: mario.sopena at gmail.com                            
+ReportedBy: sebastien at ximian.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+Summary: Monodoc uris aren't valid (uri-wise)
+Description of Problem:
+Monodoc use Uri like "monodoc://8@3@".
+This isn't a valid Uri but *was* accepted under fx 1.x due to (one of many)
+bugs. Fx 2.0 fixed, among other thing, the host interpretation. So "8 at 3@"
+is, correctly, parsed as the host name (and not the first part of the
+path). However "8 at 3@" isn't a valid host name and throws a UriFormatException.
+The real problem is that Mono Uri's implementation doesn't match neither
+1.x nor 2.0 (sigh) and, up to now, Mono also accepted the broken uri as valid.
+I'm fixing Uri issues (and adding 2.0 support) and I try to keep the 1.x
+behaviour when possible - except when the behaviour is obviously broken
+(and difficult to reproduce with 100% accuracy). 
+In this case it means "really" fixing the host name problem, which broke
+monodoc. So I did add a *very*ulgy*hack* to exclude the exception from
+happening for monodoc - but I hope we can fix this (correct Monodoc's uri)
+in the short term.
+Steps to reproduce the problem:
+1. Removed *hack* from
+2. Re-compile/install System.dll
+3. Run monodoc
+Actual Results:
+Expected Results:
+Monodoc working
+How often does this happen? 
+Always on 2.0 (MS). Eventually on Mono.
+Additional Information:
+Changing the uri's from "monodoc://8@3@" to "monodoc:///8@3@" (three '/')
+would be valid (on both 1.x and 2.0).

More information about the mono-bugs mailing list