Re: [Zope] Zope 2.3.0 beta 1 comments
i had the intermittent "browser displays the CSS text and not the real page" in another situation go away by expressly setting the content type in the linked CSS file. the first line would become... <dtml-call "RESPONSE.setHeader('Content-Type','text/css')"> jens on 1/17/01 8:20, Martijn Pieters at mj@digicool.com wrote:
On Wed, Jan 17, 2001 at 10:07:30AM +0000, Chris Withers wrote:
- When you resize the top frame, you get back a load of CSS (but as text and without a content type) This didn't happen in a2.
If you switch to inline CSS (instead of linked CSS) this problem will go away. In a2 the inline/linked descision was made for you by using browser sniffing (which isn't very reliable as many people use filtering proxies these days).
Netscape 4 is just way broken. I suspect that is also why Netscape sometimes doesn't render a page.
ye-ha. I've checked that in. Thanks! Brian Lloyd brian@digicool.com Software Engineer 540.371.6909 Digital Creations http://www.digicool.com
-----Original Message----- From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Jens Vagelpohl Sent: Wednesday, January 17, 2001 8:33 AM To: zope@zope.org Subject: Re: [Zope] Zope 2.3.0 beta 1 comments
i had the intermittent "browser displays the CSS text and not the real page" in another situation go away by expressly setting the content type in the linked CSS file. the first line would become...
<dtml-call "RESPONSE.setHeader('Content-Type','text/css')">
jens
on 1/17/01 8:20, Martijn Pieters at mj@digicool.com wrote:
On Wed, Jan 17, 2001 at 10:07:30AM +0000, Chris Withers wrote:
- When you resize the top frame, you get back a load of CSS (but as text and without a content type) This didn't happen in a2.
If you switch to inline CSS (instead of linked CSS) this problem will go away. In a2 the inline/linked descision was made for you by using browser sniffing (which isn't very reliable as many people use filtering proxies these days).
Netscape 4 is just way broken. I suspect that is also why Netscape sometimes doesn't render a page.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
--On Wednesday, January 17, 2001 08:32:34 AM -0500 Jens Vagelpohl <jens@digicool.com> wrote:
i had the intermittent "browser displays the CSS text and not the real page" in another situation go away by expressly setting the content type in the linked CSS file. the first line would become...
<dtml-call "RESPONSE.setHeader('Content-Type','text/css')">
Note that this isn't a "cure all": it is still possible to get a buffer overflow that causes netscape to spew its garbage into the browser, IIRC. -- ethan mindlace fremen zopatista community liason
Jens Vagelpohl wrote:
i had the intermittent "browser displays the CSS text and not the real page" in another situation go away by expressly setting the content type in the linked CSS file. the first line would become...
<dtml-call "RESPONSE.setHeader('Content-Type','text/css')">
Yup, that sovles the CSS problem...
on 1/17/01 8:20, Martijn Pieters at mj@digicool.com wrote:
If you switch to inline CSS (instead of linked CSS) this problem will go away. In a2 the inline/linked descision was made for you by using browser sniffing (which isn't very reliable as many people use filtering proxies these days).
Netscape 4 is just way broken. I suspect that is also why Netscape sometimes doesn't render a page.
...but I'ev also had the problem of downloading stuff off Zope.org and having .tar.gz's coming back as text in the browser, nto nice. Again, however, hitting reload invariably brings up the File Download dialog box. Maybe there's a bug somewhere deep in Zope that means the content-type doesn't _always_ get set? cheers, Chris
participants (4)
-
Brian Lloyd -
Chris Withers -
ethan mindlace fremen -
Jens Vagelpohl