Closure of bug 117039
authorfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 18 Oct 2000 17:29:27 +0000 (17:29 +0000)
committerfidian <fidian@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 18 Oct 2000 17:29:27 +0000 (17:29 +0000)
Used patch extremely similar to one submitted by embeejay.

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

functions/mime.php

index 81cf581cb6c17f2ca557afba60d86a5d5b0865f1..2ae23b00a7477e88030a61f3814ab5ac38308364 100644 (file)
       global $default_charset;
 
       // Encode only if the string contains 8-bit characters or =?
-      if (ereg("([\200-\377])|=\\?", $string)) {
+      if (ereg("([\200-\377]|=\\?)", $string)) {
          $newstring = "=?$default_charset?Q?";
          
          // First the special characters