Changeset 2226

Show
Ignore:
Timestamp:
04/25/08 00:42:51 (2 weeks ago)
Author:
anarcat
Message:

tolerate more characters in list names in delete too

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc-mailman/trunk/src/mailman.delete

    r1731 r2226  
    2424$( = $); 
    2525 
    26 if (!($listname =~ /^([a-z0-9]+)\@[a-z0-9\.-]+$/)) { 
     26if (!($listname =~ /^([a-z0-9\._-]+)\@[a-z0-9\.-]+$/)) { 
    2727    die "List name is incorrect."; 
    2828} 
     
    3030 
    3131exec($M_PATH." -a ".escapeshellarg($listname)); 
    32  
    33 0;