From d7a5dfa26abe21aa9216fe862225baa2b5caca3e Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Sat, 19 Jun 2010 14:04:48 -0400 Subject: [PATCH] - Fix dot-atom expression in e-mail validation regexp (#1486808) --- index.php | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 43cf7c4..a226b54 100644 --- a/index.php +++ b/index.php @@ -242,9 +242,13 @@ while ($redirects < 5) { $stepfile = !empty($action_map[$RCMAIL->task][$RCMAIL->action]) ? $action_map[$RCMAIL->task][$RCMAIL->action] : strtr($RCMAIL->action, '-', '_') . '.inc'; - + // execute a plugin action - if (preg_match('/^plugin\./', $RCMAIL->action)) { + if ($RCMAIL->plugins->is_plugin_task($RCMAIL->task)) { + $RCMAIL->plugins->exec_action($RCMAIL->task.'.'.$RCMAIL->action); + break; + } + else if (preg_match('/^plugin\./', $RCMAIL->action)) { $RCMAIL->plugins->exec_action($RCMAIL->action); break; } -- Gitblit v1.9.1