[Mono-list] System.Uri bug on small port numbers

Miguel de Icaza miguel at ximian.com
Thu Jul 6 14:36:18 EDT 2006


> It seems that System.Uri throws the following exception:
> System.UriFormatException: Invalid URI: The hostname could not be
> parsed

This looks like a bug;  Could you file a report in bugzilla.ximian.com

Or alternatively, a quick link:


> anytime the port number is between 0 and 9 inclusive.
> This appears to be a bug to me.  At the very least, the exception
> should say that the port number is invalid (although, I don't see any
> reason to do that either). 
> Find attached a test program and its output.
> Best,
> -- 
> P. Oscar Boykin                            http://boykin.acis.ufl.edu
> Assistant Professor, Department of Electrical and Computer
> Engineering 
> University of Florida 
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
Miguel de Icaza <miguel at ximian.com>

More information about the Mono-list mailing list