[Mono-bugs] [Bug 506734] New: System.Uri removes a slash and MS.NET does not

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun May 24 07:23:20 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=506734


           Summary: System.Uri removes a slash and MS.NET does not
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: CORLIB
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: bertrand.lorentz at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.10)
Gecko/2009043018 Gentoo Firefox/3.0.10

using System;

class Test
{
    static void Main(string[] args)
    {
        string s = "http://foo.com/bar/http://baz.com";
        Console.WriteLine (new Uri(s).AbsoluteUri);
    }
}

With mono, the above will print
http://foo.com/bar/http:/baz.com

But on MS .NET 3.5, it will print 
http://foo.com/bar/http://baz.com

This causes the following problem in banshee :
http://bugzilla.gnome.org/show_bug.cgi?id=583655

Reproducible: Always

-- 
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