Skip to content

Commit c57e5a9

Browse files
xh3n1suelaP
authored andcommitted
Use htmlentities to output the admin name on subscribe page
1 parent 8734041 commit c57e5a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public_html/lists/admin/spageedit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@
412412
foreach ($admins as $adminid => $adminname) {
413413
$singleOwner = '<input type="hidden" name="owner" value="'.$adminid.'" />';
414414
$ownerHTML .= sprintf('<option value="%d" %s>%s</option>', $adminid,
415-
$adminid == $data['owner'] ? 'selected="selected"' : '', $adminname);
415+
$adminid == $data['owner'] ? 'selected="selected"' : '', htmlentities($adminname));
416416
}
417417
$ownerHTML .= '</select>';
418418

0 commit comments

Comments
 (0)