BUG 7429 Error when testing e-mail configuration with local Exchange 2007 SOLVED
- PCRE expression was too restrictive to tld with 2 or 3 characters - Now is valid 2, 3, 4 or 5 characters
This commit is contained in:
@@ -86,8 +86,8 @@ class spoolRun
|
|||||||
$this->ExceptionCode['WARNING'] = 2;
|
$this->ExceptionCode['WARNING'] = 2;
|
||||||
$this->ExceptionCode['NOTICE'] = 3;
|
$this->ExceptionCode['NOTICE'] = 3;
|
||||||
|
|
||||||
$this->longMailEreg = '/(.*)(<([\w\-\.]+@[\w\-_\.]+\.\w{2,3})+>)/';
|
$this->longMailEreg = '/(.*)(<([\w\-\.]+@[\w\-_\.]+\.\w{2,5})+>)/';
|
||||||
$this->mailEreg = '/^([\w\-_\.]+@[\w\-_\.]+\.\w{2,3}+)$/';
|
$this->mailEreg = '/^([\w\-_\.]+@[\w\-_\.]+\.\w{2,5}+)$/';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user