Closed
Bug 288833
Opened 20 years ago
Closed 20 years ago
firefox 1.0.2 tries to save php files instead of running them
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: omriamos, Assigned: bugzilla)
References
()
Details
Attachments
(1 file)
|
42.92 KB,
image/jpeg
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2 When using firefox (maybe only 1.0.2, not sure), the browser trys to download (save as dialog) php files, instead of displaying them as it should be. This is 100% not a problem on the server, as it only began a few days ago, and there was nothing changed on the server. Moreover, it never happends with other browsers. When using some FLASH-banners, it happend almost EVERYTIME. After removing the flash-banner that seems to be problematic, it only happends once in a while. You can see a screenshoot here: http://www.hwzone.co.il/community/index.php?action=dlattach;topic=114305.0;id=49725;image p.s. if saving the file, the browser saves the PHP-SOURCE file, with all the php code in it. Reproducible: Sometimes Steps to Reproduce: 1. just accessing php files. it's randomize, i think.. Actual Results: The "save as" dialog apears, and it will show it forever for THE EXACT URL until you clear the browser cache (and then, after some time, it will probbly happend again). Expected Results: well... show the php file..
Summary: firefox 1.0.2 trys to save php files instead of running them → firefox 1.0.2 tries to save php files instead of running them
Comment 2•20 years ago
|
||
Works fine here; Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050402 . As the "save as" dialog says, the server is sending the file with application/x-httpd-php MIME type, not text/html as it should. Also, since you say you are actually seing the php source code, I'd be quite worried if I was the admin of the site...
Comment 3•20 years ago
|
||
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050227 Firefox/1.0+ Also WFM. Doesn't PHP have an option to cause to happen what you have described?
(In reply to comment #3) > Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b2) Gecko/20050227 > Firefox/1.0+ > > Also WFM. Doesn't PHP have an option to cause to happen what you have described? huh? where?
Comment 5•20 years ago
|
||
>if saving the file, the browser saves the PHP-SOURCE file, with all the php code
>in it.
That makes it a server bug.
The server MUST execzte the PHP and send the script output as text/html to the
browser.Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Updated•20 years ago
|
Severity: critical → normal
Comment 6•19 years ago
|
||
(In reply to comment #4) > (In reply to comment #3) > > ... > > Also WFM. Doesn't PHP have an option to cause to happen what you have > >described? > > huh? where? By using .phps instead of .php . I am sorry that I missed your question earler.
You need to log in
before you can comment on or make changes to this bug.
Description
•