Changeset 4fd9715 in github for program/steps/mail/compose.inc


Ignore:
Timestamp:
Apr 4, 2006 5:38:49 PM (7 years ago)
Author:
thomascube <thomas@…>
Branches:
master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
Children:
a403cda
Parents:
30a7514
Message:

Corrected regexp for numeric _to parameter

File:
1 edited

Legend:

Unmodified
Added
Removed
  • program/steps/mail/compose.inc

    r01c86f2 r4fd9715  
    9999 
    100100      // we have contact id's as get parameters 
    101       if (!empty($_GET['_to']) && preg_match('/^([0-9]+,?)+$/', $_GET['_to'])) 
     101      if (!empty($_GET['_to']) && preg_match('/^[0-9]+(,[0-9]+)*$/', $_GET['_to'])) 
    102102        { 
    103103        $a_recipients = array(); 
Note: See TracChangeset for help on using the changeset viewer.