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

Reply via email to