Skip to content

Commit

Permalink
Merge pull request from GHSA-fw5q-j9p4-3vxg
Browse files Browse the repository at this point in the history
ブログコメントの名前表示を改善
  • Loading branch information
baserproject authored Oct 29, 2020
2 parents ff7821e + 9dc5aeb commit d14f506
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/Baser/Config/theme/bc_sample/Elements/blog_comment.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@
<div class="bs-blog-comment__list-item" id="Comment<?php echo $dbData['no'] ?>">
<div class="bs-blog-comment__list-item-name">
<?php if ($dbData['url']): ?>
<?php $this->BcBaser->link($dbData['name'], $dbData['url'], ['target' => '_blank']) ?>
<?php $this->BcBaser->link($dbData['name'], $dbData['url'], ['target' => '_blank', 'escape' => true]) ?>
<?php else: ?>
<?php echo $dbData['name'] ?>
<?php echo h($dbData['name']) ?>
<?php endif ?>
</div>
<div class="bs-blog-comment__list-item-message">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
'data-alertMessageComplate' => __('コメントの送信が完了しました。'),
'data-alertMessageError' => __('コメントの送信に失敗しました。入力内容を見なおしてください。'),
]); ?>
<div id="BaseUrl" style="display: none"><?php echo $this->request->base; ?></div>
<div id="BaseUrl" style="display: none"><?php echo h($this->request->base); ?></div>

<script>
authCaptcha = <?php echo $blogContent['BlogContent']['auth_captcha'] ? 'true' : 'false'; ?>;
Expand Down

0 comments on commit d14f506

Please sign in to comment.