* Patch from Anton Pirker on helma-user: Remove semicolons in encoding.
This commit is contained in:
parent
a2640a9b70
commit
30c8f63155
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue