diff --git a/core/js/js.js b/core/js/js.js index 721a5a2e9278345f5496859c35056a037b87e101..302b6b4d9faba8a990fdf6838304e7286a682a95 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -759,11 +759,11 @@ SVGSupport.checkMimeType=function(){ if(value[0]==='"'){ value=value.substr(1,value.length-2); } - headers[parts[0]]=value; + headers[parts[0].toLowerCase()]=value; } } }); - if(headers["Content-Type"]!=='image/svg+xml'){ + if(headers["content-type"]!=='image/svg+xml'){ replaceSVG(); SVGSupport.checkMimeType.correct=false; }