[Mono-dev] [PATCH] Uri.IsWellFormedUriString should not throw an exception.
Miguel De Icaza
miguel at novell.com
Sat Jan 24 21:06:35 EST 2009
Any chance of redoing the code as suggested by Robert?
If so, it is OK to get this on the 2.4 branch.
On Jan 21, 2009, at 12:01 PM, Bill Holmes wrote:
> The attached patch fixes the attached test.cs.
> Uri.IsWellFormedUriString calls the .ctor which throws an exception.
> The .ctor throwing the exception is expected behavior,
> IsWellFormedUriString throwing is not expected.
> I would also like to apply this to the 2.4 branch.
> 2009-01-21 Bill Holmes <billholmes54 at gmail.com>
> * Uri.cs (IsWellFormedUriString): Changing IsWellFormedUriString
> to not throw an exception but return false instead.
> Contributed under MIT/X11 license.
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
More information about the Mono-devel-list