* Patch from Anton Pirker on helma-user: Remove semicolons in encoding.

This commit is contained in:
hns 2008-04-22 10:47:54 +00:00
parent a2640a9b70
commit 30c8f63155

View file

@ -577,7 +577,7 @@ helma.Http = function() {
if (result.type && result.type.indexOf("charset=") != -1) { if (result.type && result.type.indexOf("charset=") != -1) {
var charset = result.type.substring(result.type.indexOf("charset=") + 8); var charset = result.type.substring(result.type.indexOf("charset=") + 8);
charset = charset.replace('"', ' ').trim(); charset = charset.replace(/[;"]/g, '').trim();
result.charset = charset; result.charset = charset;
} }