[Mono-bugs] [Bug 565963] New: System.UriFormatException: Absolute URI is too short when creating new Uri object with UriKind.RelativeOrAbsolute
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Dec 18 08:56:39 EST 2009
http://bugzilla.novell.com/show_bug.cgi?id=565963
http://bugzilla.novell.com/show_bug.cgi?id=565963#c0
Summary: System.UriFormatException: Absolute URI is too short
when creating new Uri object with
UriKind.RelativeOrAbsolute
Classification: Mono
Product: Mono: Class Libraries
Version: 2.2.x
Platform: PC
OS/Version: openSUSE 10.2
Status: NEW
Severity: Normal
Priority: P5 - None
Component: System
AssignedTo: mono-bugs at lists.ximian.com
ReportedBy: vadmyst at gmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; ru; rv:1.9.1.6)
Gecko/20091201 Firefox/3.5.6 (.NET CLR 3.5.30729)
When constructing uri object with relative path "/" and
UriKind.RelativeOrAbsolute code crashes with System.UriFormatException:
Absolute URI is too short exception.
In Visual Studio everything is fine.
Reproducible: Always
Steps to Reproduce:
Code to reproduce
string part = "/";
Uri uri = new Uri(part, UriKind.RelativeOrAbsolute);
Actual Results:
Got System.UriFormatException: Absolute URI is too short exception
Expected Results:
New Uri object for "/" path
--
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