Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 31st, 2012  |  syntax: Diff  |  size: 1.15 KB  |  views: 424  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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" .