20 Apr
2001
20 Apr
'01
7:08 p.m.
Greg Green writes:
I am trying to read the header of a file uploaded in a REQUEST. I can get the filename and the data, but reading the headers gets me an authorization failure. This part of ZPublisher.HTTPRequest has not yet been adapted to the Zope 2.2 security policy. Something for the Collector....
It is very easy to fix. "FileUpload" objects must get an "__allow_access_to_unprotected_subobjects__=1". Dieter