Issue Details (XML | Word | Printable)

Key: FILEUPLOAD-83
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Nicholas Rahn
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons FileUpload

[fileupload][patch] Small improvements for FileUploadBase getFileName and getFieldName

Created: 18/Apr/05 05:10 PM   Updated: 09/Mar/07 08:32 PM
Return to search
Component/s: None
Affects Version/s: Nightly Builds
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Text File FileUploadBase-field-filename.patch 2005-04-18 05:21 PM Nicholas Rahn 2 kB
Environment:
Operating System: Linux
Platform: PC

Bugzilla Id: 34497


 Description  « Hide
This patch provides minor improvements to the parsing of the content-disposition
header in the getFileName and getFieldName methods of the FileUploadBase class.
It checks for a null header and does a case-insensitive check of the
content-disposition's type. Both methods now use this same process.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Nicholas Rahn added a comment - 18/Apr/05 05:21 PM
Created an attachment (id=14749)
Minor changes in FileUploadBase

Martin Cooper added a comment - 28/Nov/05 05:17 AM
Fixed in 20051128 nightly build.

I made the changes, but slightly differently from the patch (and without adding
a bug to getFieldName .