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: [email protected]
        ReportedBy: [email protected]
         QAContact: [email protected]
          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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to