summaryrefslogtreecommitdiff
path: root/program/steps/addressbook/copy.inc
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-06-16 06:29:47 +0000
committeralecpl <alec@alec.pl>2010-06-16 06:29:47 +0000
commit306f15db84b254fe23c2c1bc4a93536e7df24a26 (patch)
treeb3848b4a0b2887ecde735c143be0f601693f354e /program/steps/addressbook/copy.inc
parent330a10b95294bcc082b880f30d9548891d63a1b0 (diff)
- Fix base64 regexp (#1486800)
Diffstat (limited to 'program/steps/addressbook/copy.inc')
-rw-r--r--program/steps/addressbook/copy.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/steps/addressbook/copy.inc b/program/steps/addressbook/copy.inc
index 80dee49c3..525f9278a 100644
--- a/program/steps/addressbook/copy.inc
+++ b/program/steps/addressbook/copy.inc
@@ -27,7 +27,7 @@ $cid = get_input_value('_cid', RCUBE_INPUT_POST);
$target = get_input_value('_to', RCUBE_INPUT_POST);
$target_group = get_input_value('_togid', RCUBE_INPUT_POST);
-if ($cid && preg_match('/^[a-z0-9\-_=]+(,[a-z0-9\-_=]+)*$/i', $cid) && strlen($target) && $target !== $source)
+if ($cid && preg_match('/^[a-zA-Z0-9\+\/=_-]+(,[a-zA-Z0-9\+\/=_-]+)*$/', $cid) && strlen($target) && $target !== $source)
{
$success = 0;
$TARGET = $RCMAIL->get_address_book($target);