SVG in-browser view for compressed svgs (SVGZ)




10 years ago
10 years ago


(Reporter: Tobbi, Unassigned)


Firefox Tracking Flags

(Not tracked)




10 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9b3) Gecko/2008020514 Firefox/3.0b3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9b3) Gecko/2008020514 Firefox/3.0b3

It would be great if Firefox could also open compressed SVG files (file ending: SVGZ) like normal SVG files (means: you can view the file in the browser and also zoom it etc.). 

Here is an example of a compressed SVG file: 

Reproducible: Always

Actual Results:  
Save file dialogue opens

Expected Results:  
In-browser-view of the svgz-file (feature request)
Bug 308153 comment 1 suggests this should be supported, are you sure the server is sending the correct headers?

Comment 2

10 years ago
I'm not sure (in fact: I don't know ;-)). I just made a google search for some SVGZ files and tried to open them. 
I either get the file open dialogue or an XML error.

I have the same problem with SVGZ files I compressed with Inkscape... The file open dialogue pops up...

Comment 3

10 years ago
Okay, now I've seen that the server sends the file as content-type text/plain (as well as every other server I found in the google search results). Can't we sort out SVGZ files just by the file ending instead of the content-type?
Not without going against the http specification.
Last Resolved: 10 years ago
Resolution: --- → INVALID
There have also been security exploits in the past, I believe, that have relied on that sort of override.

Thanks for taking the time to file a bug report nevertheless, Tobias. You might find the following page useful:
You need to log in before you can comment on or make changes to this bug.