NobuNobu
nobun****@users*****
2006年 11月 9日 (木) 12:45:08 JST
Index: xoops2jp/html/image.php diff -u xoops2jp/html/image.php:1.2.8.2 xoops2jp/html/image.php:1.2.8.2.2.1 --- xoops2jp/html/image.php:1.2.8.2 Mon Sep 25 19:34:02 2006 +++ xoops2jp/html/image.php Thu Nov 9 12:45:07 2006 @@ -1,7 +1,7 @@ <?php -// $Id: image.php,v 1.2.8.2 2006/09/25 10:34:02 tom_g3x Exp $ +// $Id: image.php,v 1.2.8.2.2.1 2006/11/09 03:45:07 nobunobu Exp $ // ------------------------------------------------------------------------ // // XOOPS - PHP Content Management System // // Copyright (c) 2000 XOOPS.org // @@ -27,6 +27,11 @@ // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // // ------------------------------------------------------------------------ // +// Disable image content invalid rewriting by mbstring +if (function_exists('mb_http_output')) { + mb_http_output('pass'); +} + $image_id = isset ($_GET['id']) ? intval($_GET['id']) : 0; if ($image_id > 0) { include './mainfile.php';