#871: eMail validation pattern was too strict: now fully configurable (globally and per attribute).

SVN:trunk[3056]
This commit is contained in:
Denis Flaven
2014-01-17 09:39:19 +00:00
parent 32ec19e09d
commit 4235eae9b3
2 changed files with 9 additions and 2 deletions

View File

@@ -640,6 +640,14 @@ class Config
'source_of_value' => '',
'show_in_conf_sample' => true,
),
'email_validation_pattern' => array(
'type' => 'string',
'description' => 'Regular expression to validate/detect the format of an eMail address',
'default' => "[a-zA-Z0-9._&'-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,}",
'value' => '',
'source_of_value' => '',
'show_in_conf_sample' => true,
),
'log_kpi_duration' => array(
'type' => 'integer',
'description' => 'Level of logging for troubleshooting performance issues (1 to enable, 2 +blame callers)',