changeset 108:4bd07b03c694

fix: #文字がファイル名に混ざるとサムネールが表示できない問題?
author Sushi-k <epgrec@park.mda.or.jp>
date Mon, 08 Mar 2010 19:17:56 +0900
parents ee67bb78da2d
children 3450df471c8c 3bed74eca373
files recordedTable.php
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/recordedTable.php	Mon Mar 08 18:08:35 2010 +0900
+++ b/recordedTable.php	Mon Mar 08 19:17:56 2010 +0900
@@ -60,7 +60,7 @@
 		$arr['asf'] = "".$settings->install_url."/viewer.php?reserve_id=".$r->id;
 		$arr['title'] = htmlspecialchars($r->title,ENT_QUOTES);
 		$arr['description'] = htmlspecialchars($r->description,ENT_QUOTES);
-		$arr['thumb'] = "<img src=\"".$settings->install_url.$settings->thumbs."/".$r->path.".jpg\" />";
+		$arr['thumb'] = "<img src=\"".$settings->install_url.$settings->thumbs."/".htmlentities($r->path, ENT_QUOTES,"UTF-8").".jpg\" />";
 		$arr['cat'] = $cat->name_en;
 		$arr['mode'] = $RECORD_MODE[$r->mode]['name'];