Hello,

On opening the below html in Firefox 2.0.0.11 the svg on the w3.org
server displays, but the same svg that i've uploaded to the trac wiki
doesn't. Instead firefox pops up the standard file save dialog box.
What could be the problem?

We use svg files for documentation internally and aren't able to link
to them in wiki pages. Firefox doesn't allow to open svg natively
although it does support it.

Note: I've also pasted the live http headers obtained from the firefox
extension.

thanks in advance,
regards,
ani.

====HTML====
<html>
<body>
<object type="image/svg+xml" data="http://www.w3.org/Graphics/SVG/Test/
20061213/svggen/shapes-rect-01-t.svg" width="480" height="360">
</object>
<object type="image/svg+xml" data="http://trac.edgewall.org/attachment/
wiki/SandBox/shapes-rect-01-t.svg?format=raw" width="480"
height="360">
</object>
</body>
</html>

====LIVE HTTP HEADERS BELOW====
http://trac.edgewall.org/attachment/wiki/SandBox/shapes-rect-01-t.svg?format=raw

GET /attachment/wiki/SandBox/shapes-rect-01-t.svg?format=raw HTTP/1.1
Host: trac.edgewall.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:
1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Accept: text/xml,application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: __utmz=121038669.1199952578.6.13.utmccn=(organic)|
utmcsr=google|utmctr=trac+sandbox|utmcmd=organic;
trac_session=1b8f94fd5b37d4b7e0b51aac;
__utma=121038669.294383515.1198738154.1199884501.1199948098.6;
__utmb=121038669; trac_form_token=7a05c677eb06a170f4570f70;
__utmc=121038669;
__utma=249695314.961750833.1199951854.1199951854.1199951854.1;
__utmb=249695314; __utmc=249695314;
__utmz=249695314.1199951854.1.1.utmccn=(referral)|
utmcsr=trac.edgewall.org|utmcct=/wiki/SandBox|utmcmd=referral

HTTP/1.x 200 OK
Connection: close
Etag: W"anonymous/1199952650/"
content-disposition: attachment
Content-Type: image/svg+xml; charset=utf-8
Content-Length: 5033
Last-Modified: Thu, 10 Jan 2008 08:10:50 GMT
Date: Thu, 10 Jan 2008 08:16:29 GMT
Server: lighttpd/1.4.11
X-Antivirus: avast! 4
X-Antivirus-Status: Clean
----------------------------------------------------------
http://www.w3.org/Graphics/SVG/Test/20061213/svggen/shapes-rect-01-t.svg

GET /Graphics/SVG/Test/20061213/svggen/shapes-rect-01-t.svg HTTP/1.1
Host: www.w3.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:
1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
Accept: text/xml,application/xml,application/xhtml+xml,text/
html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive

HTTP/1.x 200 OK
Date: Thu, 10 Jan 2008 08:16:31 GMT
Server: Apache/2
Last-Modified: Thu, 14 Dec 2006 15:16:09 GMT
Etag: "42491feb56040"
Accept-Ranges: bytes
Content-Length: 5033
Cache-Control: max-age=2592000
Expires: Sat, 09 Feb 2008 08:16:31 GMT
P3P: policyref="http://www.w3.org/2001/05/P3P/p3p.xml";
Keep-Alive: timeout=2, max=100
Connection: Keep-Alive
Content-Type: image/svg+xml; qs=0.85
X-Antivirus: avast! 4
X-Antivirus-Status: Clean
----------------------------------------------------------

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to