File tree Expand file tree Collapse file tree
Config/theme/bc_sample/Elements
Plugin/Blog/View/Elements Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525<div class="bs-blog-comment__list-item" id="Comment<?php echo $ dbData ['no ' ] ?> ">
2626 <div class="bs-blog-comment__list-item-name">
2727 <?php if ($ dbData ['url ' ]): ?>
28- <?php $ this ->BcBaser ->link ($ dbData ['name ' ], $ dbData ['url ' ], ['target ' => '_blank ' ]) ?>
28+ <?php $ this ->BcBaser ->link ($ dbData ['name ' ], $ dbData ['url ' ], ['target ' => '_blank ' , ' escape ' => true ]) ?>
2929 <?php else : ?>
30- <?php echo $ dbData ['name ' ] ?>
30+ <?php echo h ( $ dbData ['name ' ]) ?>
3131 <?php endif ?>
3232 </div>
3333 <div class="bs-blog-comment__list-item-message">
Original file line number Diff line number Diff line change 1111 'data-alertMessageComplate ' => __ ('コメントの送信が完了しました。 ' ),
1212 'data-alertMessageError ' => __ ('コメントの送信に失敗しました。入力内容を見なおしてください。 ' ),
1313]); ?>
14- <div id="BaseUrl" style="display: none"><?php echo $ this ->request ->base ; ?> </div>
14+ <div id="BaseUrl" style="display: none"><?php echo h ( $ this ->request ->base ) ; ?> </div>
1515
1616<script>
1717 authCaptcha = <?php echo $ blogContent ['BlogContent ' ]['auth_captcha ' ] ? 'true ' : 'false ' ; ?> ;
You can’t perform that action at this time.
0 commit comments