Closed
Bug 679428
Opened 13 years ago
Closed 8 years ago
www.royalpaper.us - Firefox not displaying PHP files on websites properly
Categories
(Web Compatibility :: Site Reports, defect)
Web Compatibility
Site Reports
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: zeonis, Unassigned)
References
()
Details
(Whiteboard: [Content-Type: application/octet-stream])
User Agent: Mozilla/5.0 (Windows NT 6.0; rv:6.0) Gecko/20100101 Firefox/6.0 Build ID: 20110811165603 Steps to reproduce: Browsed to www.royalpaper.us/earth_first.php Actual results: Firefox does not display the page properly and also asks whether you want to open or download the php file. Expected results: It should have just displayed the web page without prompting to open or save the file and also displayed the web page properly with all graphics. On Internet Explorer 9 the web page displays properly with no issues.
Summary: Firefox unable to display PHP files → Firefox not displaying PHP files on websites properly
Comment 1•13 years ago
|
||
HTTP/1.1 200 OK Connection: keep-alive Date: Tue, 16 Aug 2011 19:06:22 GMT Content-Length: 32341 Content-Type: application/octet-stream Last-Modified: Fri, 17 Dec 2010 09:14:19 GMT Accept-Ranges: bytes ETag: "a546fcc8ca9dcb1:83cf" Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET The server sends the file as an octet-stream and Firefox has no clue how to show those ones and zeros. Reproduced: Mozilla/5.0 (X11; Linux x86_64; rv:8.0a1) Gecko/20110816 Firefox/8.0a1
Comment 2•13 years ago
|
||
Misconfigured server -> TE
Assignee: nobody → english-us
Component: General → English US
OS: Windows Vista → All
Product: Firefox → Tech Evangelism
QA Contact: general → english-us
Hardware: x86 → All
Summary: Firefox not displaying PHP files on websites properly → www.royalpaper.us - Firefox not displaying PHP files on websites properly
Whiteboard: [Content-Type: application/octet-stream]
Version: 6 Branch → unspecified
OK so there is a problem in how they configured their server. Why does it display properly in IE9? I guess it is configured differently depending on the browser being used? Or somehow IE9 is not obeying web standards?
Comment 4•13 years ago
|
||
I faked an IE9 User Agent string in Firefox but I still got an application/octet-stream. It seems like Internet Explorer may both peek into the data and look at the file name extension: http://msdn.microsoft.com/en-us/library/ms775147%28v=vs.85%29.aspx
Comment 5•13 years ago
|
||
The misconfigured web server problem is further described here: https://developer.mozilla.org/en/Properly_Configuring_Server_MIME_Types And as I already found in comment 4 Internet Explorer tries to guess the MIME type when the server configuration is broken.
Comment 6•10 years ago
|
||
Bug still exists in FF29. Moving to desktop component.
Assignee: english-us → nobody
Status: UNCONFIRMED → NEW
Component: English US → Desktop
Ever confirmed: true
Comment 7•10 years ago
|
||
Checked it out in IE to get the contact info. info@royalpaper.us if someone wants to reach out.
Comment 8•8 years ago
|
||
This has been fixed. HTTP/1.1 200 OK Content-Type: text/html; charset=UTF-8 Server: Microsoft-IIS/8.5 X-Powered-By: PHP/5.6.22, ASP.NET Date: Fri, 26 Aug 2016 00:12:46 GMT Content-Length: 35522
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•5 years ago
|
Product: Tech Evangelism → Web Compatibility
You need to log in
before you can comment on or make changes to this bug.
Description
•