Skip to content
This repository has been archived by the owner on Oct 21, 2020. It is now read-only.

Commit

Permalink
Merge pull request #1 from Naleksuh/patch-2
Browse files Browse the repository at this point in the history
properly sanitizes username
  • Loading branch information
jacob-g authored Sep 15, 2020
2 parents 3f1af08 + 4160a39 commit 44c6ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ScratchSig2.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function sigGetAvatarUrl ($username) {
// Called to output HTML for <scratchsig> tag

function sigRenderTag ($input, array $args, Parser $parser, PPFrame $frame) {
$username = $input;
$username = htmlspecialchars($input);

$img_url = sigGetAvatarUrl($username);

Expand Down

0 comments on commit 44c6ff3

Please sign in to comment.