WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 15242
25326
Webkit treats 404 server response as HTML
https://bugs.webkit.org/show_bug.cgi?id=25326
Summary
Webkit treats 404 server response as HTML
Andrew Kulinich
Reported
2009-04-22 09:12:20 PDT
If page includes some CSS file and it is missing - webkit treats 404 server response (usually this is HTML page with some CSS inside) as CSS. So styles from 404 page are applied to main page. I've attached two files - one is common html page which includes missing CSS file using LINK tag. Other - is server response for 404 error (in my httpd.conf I have ErrorDocument 404 /404.html ) So if you will try to open that missing css - you will see 404.html as server response (HTTP code 404 is returned)
Attachments
web page with reference to missing CSS file
(205 bytes, text/plain)
2009-04-22 09:13 PDT
,
Andrew Kulinich
no flags
Details
server response for 404 error
(116 bytes, text/plain)
2009-04-22 09:14 PDT
,
Andrew Kulinich
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Andrew Kulinich
Comment 1
2009-04-22 09:13:12 PDT
Created
attachment 29681
[details]
web page with reference to missing CSS file
Andrew Kulinich
Comment 2
2009-04-22 09:14:45 PDT
Created
attachment 29682
[details]
server response for 404 error put this page somewhere at your web server and put ErrorDocument 404 /404.html into your web server config. replace "/404.html" with reference to current file.
Alexey Proskuryakov
Comment 3
2009-04-23 01:44:44 PDT
Duplicate of
bug 15242
?
Andrew Kulinich
Comment 4
2009-04-23 01:58:21 PDT
*** This bug has been marked as a duplicate of
15242
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug