diff --git a/s/common/bcdiceapiv2class.php b/s/common/bcdiceapiv2class.php index e15f7e6..fd8776c 100644 --- a/s/common/bcdiceapiv2class.php +++ b/s/common/bcdiceapiv2class.php @@ -13,7 +13,7 @@ function curl($url,$post_array=null){ if($post_count>0){ $post_fields.='&'; } - $post_fields.=$key.'='.$value; + $post_fields.=urlencode($key).'='.urlencode($value); $post_count++; } curl_setopt($ch,CURLOPT_POST,$post_count); diff --git a/s/common/const.php b/s/common/const.php index 087cb97..e413897 100644 --- a/s/common/const.php +++ b/s/common/const.php @@ -3,7 +3,7 @@ define('SITE_TITLE','オンセンルーム'); // サイト名 ※サイト名はデフォルト「オンセンルーム」から必ず変更する define('SITE_DESCRIPTION','ブラウザで遊べるTRPGオンラインセッションルームです。'); // サイト説明 define('CPU_CORE',8); // サーバのCPUコア数を入力する - define('APP_VERSION','1.04.01'); // バージョン + define('APP_VERSION','1.04.02'); // バージョン /* password */ define('ADMINISTRATOR_PASSWORD','1234'); // 管理者ページ用パスワード define('AUTHENTICATION_CODE','12345678abcd'); // ロビーサーバから要求があった際の認証用パスワード(ロビーサーバから渡されるコードとこれが一致したら情報を提供する) diff --git a/s/common/exeboneandcars.php b/s/common/exeboneandcars.php index ad9f580..222eae2 100644 --- a/s/common/exeboneandcars.php +++ b/s/common/exeboneandcars.php @@ -47,9 +47,6 @@ function getDiceSR($ro_res_rand,&$dammy_dice){ } $chipcomment.=(string)$m_comment_array[$i]; } - if($chipcomment!=''){ - $chipcomment='「'.$chipcomment.'」'; - } }elseif(0<$mca_count){ $chipcommand=(string)$m_comment_array[0]; $chipcomment='';