[Zope] help with detecting mime_type

2007-05-24 Thread Alan
Dears, In my external method I can get mime_type = file.headers.headers[1].split()[1] and then my code proceed based on which mime type was identified for the file uploaded. What happens now is that a user uploading a tgz file from a Windows platform and then my code did not identify it as a app

Re: [Zope] help with detecting mime_type

2007-05-24 Thread Andreas Jung
--On 24. Mai 2007 11:31:17 +0100 Alan <[EMAIL PROTECTED]> wrote: Dears, In my external method I can get mime_type = file.headers.headers[1].split()[1] and then my code proceed based on which mime type was identified for the file uploaded. What happens now is that a user uploading a tgz file

Re: [Zope] Zope 2, local python script security

2007-05-24 Thread Martijn Pieters
On 5/23/07, David H <[EMAIL PROTECTED]> wrote: I have a (zope 2.8.8-final) folder that gives users with the role "Authenticated" the following Permissions: --- . access contents . view - note: no webDav or FTP access is allowed ---

Re: [Zope] unicode, zmi, utf-8, management_page_charset and default-zpublisher-encoding

2007-05-24 Thread Joerg Baach
Hi Dieter, Dieter Maurer wrote: > Joerg Baach wrote at 2007-5-24 15:28 +0100: >> ... >> I am not sure here, but it looks to me that just using utf-8 constantly >> might suffice for 'just' storing, modifying and indexing- or am I >> missing something? > > Sure, this is a possibility. You are then