Closed
Bug 345431
Opened 20 years ago
Closed 20 years ago
1px-gif generated by php gets loaded twice
Categories
(Firefox :: File Handling, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 304574
People
(Reporter: tobias.olry, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
This Code:
<?php
header("Content-type: image/gif");
header("Content-Length: 46");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Last-Modified: " . gmdate("D, d M Y H:i:s") ." GMT");
header("Pragma: no-cache");
header("Cache-Control: no-store, no-cache, max-age=0");
//echo base64_decode( 'R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAO2lmDQ==');
$img = imagecreate(1,1);
imagegif($img);
?>
When called directly gets loaded twice, if put into an html-file like this:
<html>
<body>
<img src="gifSkript.php" />
</body>
</html>
It's only loaded once.
The script is running on an Apache2 / PHP5 and the script gets correctly loaded only once, when called by e.g. IE or Opera.
Reproducible: Always
Comment 1•20 years ago
|
||
WFM - Not reproducible here on the latest trunk:
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060720 Minefield/3.0a1 - Build ID: 2006072004
| Reporter | ||
Comment 2•20 years ago
|
||
(In reply to comment #1)
> WFM - Not reproducible here on the latest trunk:
>
> Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060720
> Minefield/3.0a1 - Build ID: 2006072004
>
Hi Ryan,
I had some other people reproducing it on Firefox 1.5 - so it must be an isolated issue with 1.5 or it has been fixed since then in svn/cvs.
WFM 1.5.0.4 release.
I assume it's an unrelated issue, can you provide a testcase URL on the server you experience this problem on?
Comment 4•20 years ago
|
||
Perhaps this is bug 304574.
Comment 5•20 years ago
|
||
*** This bug has been marked as a duplicate of 304574 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•