[Zope] wrong content-type from Z Search Interface

menezes@curiango.ipen.br menezes@curiango.ipen.br
Wed, 05 Jan 2000 20:17:53 -0200


Quoting "Jordan B. Baker" <jbb@spyderlab.com>:

>
> I had the same problem.  Using the source I managed to track down the
> source of the error to a piece of code that guesses the MIME type of the
> document.
>
> Relevant files in the source are OFS/DTMLDocument/Method.py and
> OFS/content_types.py
>
> Basically what appears to happen is that some SQL queries return what is
> considered bianry data by Zope resulting in a page that isn't visble to
> the user if they are running certain browsers.

yes! I found the bad data in the sql table. 

I'm just curious why the test page of z search interface just 
showed all the bad data and my page didn't. :-(

thanks,

[]s,
Mário O. de Menezes

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/