mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-12 14:40:09 +01:00
Fix paste title XSS.
This commit is contained in:
parent
0581519eaa
commit
4183286d5a
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ $selectedloader = "$bg[$i]"; // set variable equal to which random filename was
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="column is-4 has-text-centered">
|
<div class="column is-4 has-text-centered">
|
||||||
<h1 class="title is-6" style="margin-bottom:0;"><?= $paste['title'] ?></h1>
|
<h1 class="title is-6" style="margin-bottom:0;"><?= pp_html_escape($paste->title); ?></h1>
|
||||||
<small class="title is-6 has-text-weight-normal has-text-grey">
|
<small class="title is-6 has-text-weight-normal has-text-grey">
|
||||||
By <a href="<?= urlForMember($paste->user) ?>"><?= pp_html_escape($paste->user->username) ?></a>
|
By <a href="<?= urlForMember($paste->user) ?>"><?= pp_html_escape($paste->user->username) ?></a>
|
||||||
<br/>
|
<br/>
|
||||||
|
|
Loading…
Add table
Reference in a new issue