X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=blobdiff_plain;f=plugins%2Flistcommands%2Ffunctions.php;h=66a4f99bf93b83d98c5eb7ff5a4b03cc8a51a7fe;hp=c51c615fb3e8f4e634d7baa3804effa70edefa51;hb=d95b10b37612d4ccb3712a90a3f9be85fd92910f;hpb=e5f21a9121fd5ad2d5456201059c648849e34504 diff --git a/plugins/listcommands/functions.php b/plugins/listcommands/functions.php index c51c615f..66a4f99b 100644 --- a/plugins/listcommands/functions.php +++ b/plugins/listcommands/functions.php @@ -8,7 +8,7 @@ * this plugin displays a menu which gives the user a choice of mailinglist * commands such as (un)subscribe, help and list archives. * - * @copyright © 1999-2006 The SquirrelMail Project Team + * @copyright © 1999-2007 The SquirrelMail Project Team * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @version $Id$ * @package plugins @@ -130,7 +130,7 @@ function plugin_listcommands_menu_do() { if (!in_array('post', array_keys($links))) { foreach ($non_rfc_lists as $non_rfc_list) { - if (preg_match('/(^|,|\s)' . preg_quote($non_rfc_list) . '($|,|\s)/', $recipients)) { + if (preg_match('/(^|,|<|\s)' . preg_quote($non_rfc_list) . '($|,|>|\s)/', $recipients)) { $url = 'src/compose.php?' . (isset($startMessage)?'startMessage='.$startMessage.'&':'') . 'send_to=' . str_replace('?','&', $non_rfc_list);