Advertisement
Guest User

Untitled

a guest
Aug 31st, 2012
993
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.15 KB | None | 0 0
  1. --- compose.php.bak     2012-08-31 18:35:26.000000000 +0300
  2. +++ compose.php 2012-08-31 18:35:52.000000000 +0300
  3. @@ -1225,10 +1225,10 @@
  4.              } else {
  5.                  echo "\n\n".($prefix_sig==true? "-- \n":'').decodeHeader($signature,false,false,true);
  6.              }
  7. -            echo "\n\n".htmlspecialchars(decodeHeader($body,false,false,true));
  8. +            echo "\n\n".htmlspecialchars(decodeHeader($body,false,false,true),ENT_COMPAT,'iso-8859-1');
  9.          }
  10.          else {
  11. -            echo "\n\n".htmlspecialchars(decodeHeader($body,false,false,true));
  12. +            echo "\n\n".htmlspecialchars(decodeHeader($body,false,false,true),ENT_COMPAT,'iso-8859-1');
  13.              if ($default_charset == 'iso-2022-jp') {
  14.                  echo "\n\n".($prefix_sig==true? "-- \n":'').mb_convert_encoding($signature, 'EUC-JP');
  15.              }else{
  16. @@ -1236,7 +1236,7 @@
  17.              }
  18.          }
  19.      } else {
  20. -        echo htmlspecialchars(decodeHeader($body,false,false,true));
  21. +        echo htmlspecialchars(decodeHeader($body,false,false,true),ENT_COMPAT,'iso-8859-1');
  22.      }
  23.      echo '</textarea><br />' . "\n" .
  24.          '      </td>' . "\n" .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement