Skip to content

Commit 1cc1752

Browse files
authored
escaping string for prevention of XSS attacks.
1 parent bcf9cd2 commit 1cc1752

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Views/email_activate_show.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<h5 class="card-title mb-5"><?= lang('Auth.emailActivateTitle') ?></h5>
1111

1212
<?php if (session('error')) : ?>
13-
<div class="alert alert-danger"><?= session('error') ?></div>
13+
<div class="alert alert-danger"><?= esc(session('error')) ?></div>
1414
<?php endif ?>
1515

1616
<p><?= lang('Auth.emailActivateBody') ?></p>

0 commit comments

Comments
 (0)