Closed Bug 102606 Opened 24 years ago Closed 14 years ago

decoded image cache does not differentiate between POST results

Categories

(Core :: Graphics: ImageLib, defect)

All
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE
Future

People

(Reporter: vidur, Unassigned)

References

()

Details

Attachments

(2 files)

Images stored in the decoded image cache are stored with their URL as the key. This is not enough if the image is the result of a form POST. For POSTs, the secondary key (a representation of the posted data) should also be used. To reproduce: 1) Bring up two top-level windows. 2) Navigate to the URL above. 3) In one window, click on the "Image 1" radio button and hit "Send". 4) In the other window, click on the "Image 2" radio button and hit "Send". 5) Reload the first window. Expected Result: The first image should be displayed in the first window after the reload. Actual Result: The second image is displayed in the first window after the reload. [Since the tests are on a Netscape internal server, I'll post the HTML and Perl as attachments to the bug]
Attached file HTML test file
HTTP solves this problem by using a 32 counter initialized with the time of day at startup. Each POST response is assigned the value of the counter, and then the counter is incremented. This unique ID is then prepended to the URL to form the cache key.
Target Milestone: --- → mozilla1.1
retargeting
Target Milestone: mozilla1.1alpha → Future
Assignee: pavlov → nobody
QA Contact: tpreston → imagelib
The link is broken now, and since there's been no activity here since 2001, I'm assuming this is no longer a problem. Feel free to reopen this if the problem still exists.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: