Skip to content

Commit a9ee6fd

Browse files
committed
encode the url value
1 parent 5388df4 commit a9ee6fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public_html/lists/admin/send_core.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ function submitform() {
733733
$maincontent .= '
734734
<div id="remoteurl" class="field"><label for="sendurl">' .$GLOBALS['I18N']->get('Send a Webpage - URL').Help('sendurl').'</label>'.'
735735
<input type="text" name="sendurl" id="remoteurlinput"
736-
value="' .$messagedata['sendurl'].'" size="60" /> <span id="remoteurlstatus"></span></div>';
736+
value="' .htmlspecialchars($messagedata['sendurl']).'" size="60" /> <span id="remoteurlstatus"></span></div>';
737737
if (isset($messagedata['sendmethod']) && $messagedata['sendmethod'] != 'remoteurl') {
738738
$GLOBALS['pagefooter']['hideremoteurl'] = '<script type="text/javascript">$("#remoteurl").hide();</script>';
739739
}

0 commit comments

Comments
 (0)