1
0

Adjust remaining htmlspecialchars() accordingly

This commit is contained in:
Garvin Hicking
2014-11-24 10:13:40 +01:00
parent 26535ec09c
commit eab43b12f5
15 changed files with 48 additions and 48 deletions

View File

@ -164,7 +164,7 @@ class serendipity_event_mailer extends serendipity_event
</div>
<div class="form_field">
<label title="<?php echo PLUGIN_EVENT_MAILER_RECIPIENT; ?>" for="properties_mailto"><?php echo PLUGIN_EVENT_MAILER_RECIPIENTS; ?></label>
<input id="properties_mailto" type="text" name="serendipity[properties][mailto]" value="<?php echo htmlspecialchars($mailto); ?>">
<input id="properties_mailto" type="text" name="serendipity[properties][mailto]" value="<?php echo serendipity_specialchars($mailto); ?>">
</div>
<div class="form_check">
<input id="sendall" type="checkbox" value="true" name="serendipity[properties][sendentry_all]" <?php echo ($sendtoall ? 'checked="checked"': ''); ?>>
@ -268,7 +268,7 @@ class serendipity_event_mailer extends serendipity_event
foreach($to AS $mailto) {
if (!empty($mailto)) {
echo htmlspecialchars($mailto) . '...<br />';
echo serendipity_specialchars($mailto) . '...<br />';
serendipity_sendMail($mailto, $mail['subject'], $mail['body'], $mail['from']);
}
}