From 30c8f6315553012d88f92b6e57ed75d5b35acf59 Mon Sep 17 00:00:00 2001 From: hns Date: Tue, 22 Apr 2008 10:47:54 +0000 Subject: [PATCH] * Patch from Anton Pirker on helma-user: Remove semicolons in encoding. --- helma/Http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helma/Http.js b/helma/Http.js index 01ba4f97..231797d2 100644 --- a/helma/Http.js +++ b/helma/Http.js @@ -577,7 +577,7 @@ helma.Http = function() { if (result.type && result.type.indexOf("charset=") != -1) { var charset = result.type.substring(result.type.indexOf("charset=") + 8); - charset = charset.replace('"', ' ').trim(); + charset = charset.replace(/[;"]/g, '').trim(); result.charset = charset; }