Closed Bug 378342 Opened 17 years ago Closed 17 years ago

Location bar displays garbage (overlapping characters) when it tries to display a very long URL

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 257660

People

(Reporter: keenanpepper, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty)

If an SVG file contains a raster image inside it with syntax like this:
xlink:href="data:image/png;base64...
and "View Image" is selected from the context-menu, the raster image is displayed properly, but the location bar seems to display many random characters overlapping unreadably. The site's icon is also displayed incorrectly.

Reproducible: Always

Steps to Reproduce:
1. Open an SVG file that contains a raster image inside it, like http://upload.wikimedia.org/wikipedia/en/3/3c/Snellen.svg
2. Right-click on the raster image and select "View Image" from the context menu.
3. Observe location bar.
Actual Results:  
Location bar displays garbage characters and site icon is corrupted.

Expected Results:  
Location bar should display something sensible, and site icon should be displayed as usual.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8.1.4pre) Gecko/2007042103 BonEcho/2.0.0.4pre
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a4pre) Gecko/20070421 Minefield/3.0a4pre ID:2007042110 [cairo]
WFM. Right clicking and choosing View Image changes the URL bar to a long data: URL, but the text is not overwritten by itself in the URL bar like the image in comment 1
It's just a long data: URL.  It works fine on Mac trunk.  See bug 302294 and friends.  This might be fixed on trunk on Linux already too.
Summary: Location bar displays garbage if "View Image" is performed on a raster image inside an SVG file → Location bar displays garbage (overlapping characters) when it tries to display a very long URL
Duping to bug 257660 since its summary is similar (and because I had using dependencies when bugs should be marked as dupes).
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: