Tino Wildenhain wrote:
Hi,
Am Di, den 26.10.2004 schrieb Vova um 20:10:
Hello All! It seems that Zope does not handle names of uploaded files correctly when it include ';'.
What ever "correctly" means ;) Surprice: Zope does not care about names of uploaded files (In the Request) Simple script:
return context.REQUEST.file.filename Now let's create the form for it and upload file "a;b". This script will return '"a' what is obviously not correct. Filename is used, for example, as ID for newly created File object. A lot of more realistic examples can be found in Plone.
However if you create File objects via DAV or FTP directly in a Folder, Zope uses the name information to guess best to get an id for the object. It tries hard to not end up having an illegal id here. I've not tried FTP. May be it's worth trying.
Regards Tino
-- Vladimir