Bad filename when adding zope.app.file.File from IE
Bug #265149 reported by
Dan Korostelev
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 3 |
Fix Released
|
Undecided
|
Dan Korostelev |
Bug Description
When uploading file from MS Internet Explorer, it sets full filesystem path as a filename, so if we don't do additional processing, we end up with object names like "C:\Documents and Settings\
I attached a patch for the FileAdd and ImageAdd views that adds simple processing of filenames to get actual filename for the object view. The patch also includes a test for the functionality that checks if adding files with bad filenames actually works.
Please review it.
To post a comment you must log in.
I just released a fix for it. So this is fixed in zope.app.file release 3.4.4.