Module | ActionController::UploadedFile
In: | lib/action_controller/uploaded_file.rb

### Methods

extended included original_filename

### Public Class methods

extended(object)
included(base)

### Public Instance methods

original_filename()

Take the basename of the upload‘s original filename. This handles the full Windows paths given by Internet Explorer (and perhaps other broken user agents) without affecting those which give the lone filename. The Windows regexp is adapted from Perl‘s File::Basename.

[Validate]