Bug #1909 ยป 1909.patch
| administrator/components/com_comprofiler/comprofiler.class.php | ||
|---|---|---|
|
cbimport( 'phpinputfilter.inputfilter' );
|
||
|
cbimport( 'cb.acl' );
|
||
|
|
||
|
define( "_UE_PREGMATCH_VALID_EMAIL", "/[a-z0-9!#$%&'*+\\/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+\\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/" );
|
||
|
define( "_UE_PREGMATCH_VALID_EMAIL", "/[a-z0-9!#$%&'*+\\/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+\\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?/i" );
|
||
|
/**
|
||
|
* Checks if a given string is a valid email address
|
||
|
*
|
||