fsf changes, meant to be rebased on upstream
[squirrelmail.git] / plugins / spamcop / options.php
index 4c9b5a7e35ea0e05c269c3663b03206dca069e39..a4ebe765a3417cbf73147dcb35f15c03275bd5de 100755 (executable)
@@ -3,7 +3,7 @@
 /**
  * options.php -- SpamCop options page
  *
- * @copyright 1999-2012 The SquirrelMail Project Team
+ * @copyright 1999-2022 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
@@ -143,7 +143,7 @@ spamcop_load_function();
             '<small>(' . _("see below") . ')</small>','right','','valign="top"');
           ?>
           <td valign="top"><form method="post" action="options.php">
-            <input type="text" size="30" name="ID" value="<?php echo htmlspecialchars($spamcop_id) ?>" />
+            <input type="text" size="30" name="ID" value="<?php echo sm_encode_html_special_chars($spamcop_id) ?>" />
             <input type="hidden" name="action" value="save_id" />
             <?php
               echo '<input type="submit" value="' . _("Save ID") . "\" />\n";