# HG changeset patch # User Sushi-k # Date 1268043476 -32400 # Node ID 4bd07b03c69428523d547943d49974e00b94d288 # Parent ee67bb78da2d7a0f23771ef15f46a0b3fe96fd55 fix: #文字がファイル名に混ざるとサムネールが表示できない問題? diff -r ee67bb78da2d -r 4bd07b03c694 recordedTable.php --- 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'] = "install_url.$settings->thumbs."/".$r->path.".jpg\" />"; + $arr['thumb'] = "install_url.$settings->thumbs."/".htmlentities($r->path, ENT_QUOTES,"UTF-8").".jpg\" />"; $arr['cat'] = $cat->name_en; $arr['mode'] = $RECORD_MODE[$r->mode]['name'];