Fix for #547511. Apparently some drain-bamaged clients spell it
authorgraf25 <graf25@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 27 May 2002 20:07:09 +0000 (20:07 +0000)
committergraf25 <graf25@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 27 May 2002 20:07:09 +0000 (20:07 +0000)
"quoted_printable". Guess who makes those?

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2872 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mime.php

index e5b0e9fcd9d19ffda7ea41e4ebe23ebf877fcee9..178828892bd489c77440bd43a2363594d11625b5 100644 (file)
@@ -1011,7 +1011,8 @@ function decodeBody($body, $encoding) {
 
   global $show_html_default;
 
-  if ($encoding == 'quoted-printable') {
+  if ($encoding == 'quoted-printable' ||
+      $encoding == 'quoted_printable') {
      $body = quoted_printable_decode($body);