[Mono-bugs] [Bug 533572] New: Uri.LocalPath is not correct when path contains an '@' character

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Aug 23 04:41:36 EDT 2009


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


           Summary: Uri.LocalPath is not correct when path contains an '@'
                    character
    Classification: Mono
           Product: Mono: Class Libraries
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: aaragoneses at novell.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.11)
Gecko/2009060200 SUSE/3.0.11-0.1 Firefox/3.0.11

Uri.LocalPath is not correct when path contains an '@' character

Reproducible: Always

Steps to Reproduce:
static void Main (string [] args)
{
string path = "file:///some/path/file_with_an_@_sign";
Uri fileUri = new Uri (path);
Console.WriteLine ("LocalPath is: " + fileUri.LocalPath);
}
Actual Results:  
LocalPath is: /_sign


Expected Results:  
LocalPath is:/some/path/file_with_an_ at _sign


Patch coming...

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