Closed Bug 302541 Opened 19 years ago Closed 19 years ago

External CSS file is not rendered for secure page when entering secure page from non-secure page AND mod_deflate compression is enabled for CSS files.

Categories

(Core :: Networking: HTTP, defect)

PowerPC
macOS
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 227976

People

(Reporter: artagesw, Assigned: darin.moz)

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.8) Gecko/20050427 Camino/0.8.4
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6 AND Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.8) Gecko/20050427 Camino/0.8.4

When switching from a non-secure page to a secure page on a site that uses
Apache 2.0.54 with mod_deflate enabled, the secure page is sometimes (often, not
always) rendered as if there were no CSS style sheet. The CSS style sheet is
external (linked). The Apache logs show that the browser requested and fetched
the CSS style sheet file and it was compressed by mod_deflate. This does not
happen with Internet Explorer (Mac/Windows) or Safari. I also could not
reproduce it with Firefox on Windows. But it is highly reproducible on Mac OS X
with both Firefox 1.0.6 and Camino 0.8.4. By disabling mod_deflate on the web
server, the problem disappears. Interestingly, this only started happening after
upgrading the web server from Apache 2.0.48 to 2.0.54. So it seems that there
may be an interaction between recent versions of Apache/mod_deflate/mod_ssl and
Firefox/Camino on Mac OS X.

Reproducible: Sometimes

Steps to Reproduce:
1. Browse from a Mac running OS X + Firefox or Camino.
2. Visit a site that has a mixture of secure and non-secure pages, with
mod_deflate enabled for text/css and with an externally linked css file.
3. Start from a non-secure page that has a link to a secure page.
4. Visit the secure page. Quite often, the page will render without CSS styling.
5. If the problem does not occur, quit the browser and try again.
Actual Results:  
Secure page is rendered as if the CSS file was not found/used (i.e. no styling).

Expected Results:  
Page should render fully styled.

May be related to bug #260800.

As a work-around, I have disabled mod_deflate for css files on the web servers
where I discovered this problem. If it will help in tracking down/fixing this
bug, contact me via email and I will re-enable mod_deflate and give you the URL
and instructions to reproduce this bug on my server.
Assignee: nobody → darin
Component: General → Networking: HTTP
Product: Firefox → Core
QA Contact: general → networking.http
Version: unspecified → Trunk
bug 227976?

does this work in deer park alpha 2?
Yes, I have so far been unable to reproduce the problem in deer park alpha 2.
ok, then it's probably bug 227976.

*** This bug has been marked as a duplicate of 227976 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.