[Mono-bugs] [Bug 523278] System.Uri.Uri.IsWellFormedUriString doesn't recognize relative URIs with colons
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Mar 12 18:32:02 EST 2010
http://bugzilla.novell.com/show_bug.cgi?id=523278
http://bugzilla.novell.com/show_bug.cgi?id=523278#c1
Greg Smolyn <greg.smolyn at strangeloopnetworks.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |greg.smolyn at strangeloopnetw
| |orks.com
Severity|Normal |Major
--- Comment #1 from Greg Smolyn <greg.smolyn at strangeloopnetworks.com> 2010-03-12 23:32:00 UTC ---
We are seeing this in other places, such as the URI constructor. We checked
RFC 2396 and it does seem that colons are allowed in some circumstances.
We wrote a test (attached) and ran it in both Mono and MS.NET, and got
different results. MS.NET correctly handles the colons,
There are 3 tests, only failing ones display.
MS.NET shows:
Uri(s): Invalid URI: The format of the URI could not be determined.
Mono:
Uri(s): URI scheme must start with a letter and must consist of one of
alphabet, digits, '+', '-' or '.' character.
Uri(s,UriKind.Relative):URI scheme must start with a letter and must consist of
one of alphabet, digits, '+', '-' or '.' character.
Uri(s,UriKind.RelativeOrAbsolute)URI scheme must start with a letter and must
consist of one of alphabet, digits, '+', '-' or '.' character.
I will investigate trying to patch this as it is affecting production code.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list