Open Bug 564634 Opened 13 years ago Updated 5 months ago

Tries to load images within JSON (improperly encoded), causing unnecessary 404s

Categories

(Firefox :: General, defect)

3.6 Branch
x86
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: fr, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.5
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.3) Gecko/20100423 Ubuntu/10.04 (lucid) Firefox/3.5

Firefox tries to load images for image tags within JSON, but the encoding (backslashes and quotes) is not fixed, causing unnecessary requests resulting in 404-errors

Example (as recorded by LiveHeader):
GET /inventar/%5C%22lib%5C/status_1_sm.png%5C%22 HTTP/1.1

Reproducible: Always

Steps to Reproduce:
1. Install LiveHeaders
2. open URL given as sample
Actual Results:  
user experience is slowed down, the error log on the server get filled

Expected Results:  
either preload the correct images using the right URLs or just wait until the image is actually required on the page
Version: unspecified → 3.6 Branch
Can you still reproduce this bug in Firefox 6?

Please update to Firefox 6 or later, update your plugins, and retest in a new profile. If you still see the issue with the updated version of Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.