[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


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

But on MS .NET 3.5, it will print 

This causes the following problem in banshee :

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