@robocoder opened this Issue on March 10th 2013 Contributor

The fix in [7873deb] doesn't entirely resolve the issue with .svg files not being served correctly.

On older Apache servers, there is no mime-type defined for svg+xml.

On Ubuntu 12.04, the Apache server's "magic" file expects the header to conform to:

0   string      \<?xml
>38 string      \<\!DOCTYPE\040svg  image/svg+xml

This ticket is to update all .svg files to have the following header:

<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE svg  PUBLIC '-//W3C//DTD SVG 1.1//EN'  'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>

Currently, the UserCountry .svg files have:

<?xml version="1.0" ?><!DOCTYPE svg  PUBLIC '-//W3C//DTD SVG 1.1//EN'  'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'>

while logo.svg has no header.

@robocoder commented on March 10th 2013 Contributor

In 266da1c69318a4ce171bfc688b1bf39f328c2a87: fixes #3809 - add encoding to .svg files

@robocoder commented on March 10th 2013 Contributor

In 9290d171476e3b126278f646f95e470a48603cb9: refs #3809 - remove magic file

@mattab commented on March 11th 2013 Member

I didn't notice it before, nice fix.

This Issue was closed on March 11th 2013
Powered by GitHub Issue Mirror