- Inheritance
Methods
Class
| Visibility | Signature |
|---|---|
| public | extended (object) |
| public | included (base) |
Instance
| Visibility | Signature |
|---|---|
| public | original_filename () |
Class Method Detail
extended(object)
included(base)
Instance Method Detail
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.