[Mono-bugs] [Bug 381350] New: System.Web.UI.WebControls.FileUpload. FileName returns path from client with different DirectorySeparator

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Apr 18 09:54:45 EDT 2008


           Summary: System.Web.UI.WebControls.FileUpload.FileName returns
                    path from client with different DirectorySeparator
           Product: Mono: Class Libraries
           Version: 1.9.0
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: ivan at chimerical.com.au
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development

FileUpload.FileName gets the filename using Path.GetFileName.
This assumes the client uses the same DirectorySeparator as the server.

A Windows client may pass "C:\Directory\FileName.Ext", which a *nix server will
return "C:\Directory\FileName.Ext" as the filename only.

This was addressed in 71041. 

But the fix doesn't address differing server & client DirectorySeparator

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list