リビジョン | a2083e106d235744732ed355fd161e632b13405a (tree) |
---|---|
日時 | 2011-12-17 10:43:47 |
作者 | miko2u <miko@cafe...> |
コミッター | miko2u |
XSS脆弱性の修正(JVN#76515037)
@@ -183,7 +183,7 @@ function plugin_comment_convert() | ||
183 | 183 | $_btn_name . '</label>' . |
184 | 184 | '<input type="text" name="name" id="_p_comment_name_' . |
185 | 185 | $comment_all_no . '" size="' . PLUGIN_COMMENT_SIZE_NAME . |
186 | - '" value="'.$user.'"'.$disabled.' />' . "\n"; | |
186 | + '" value="'.htmlspecialchars($user).'"'.$disabled.' />' . "\n"; | |
187 | 187 | } |
188 | 188 | |
189 | 189 | $helptags = edit_form_assistant(); |