[feedquote='Trac','http://trac.i-mscp.net/ticket/1194']
Hi,
When i want to create a dmarc record TXT verification failed.
Current preg_match does not allow ";" and "@" chars. For this we need to change one line;
Code
- /var/www/imscp/gui/public/client# diff dns_edit.php dns_edit.php.ORG
- 190c190
- < } elseif (!preg_match('/^([a-zA-Z0-9\+\?\-\*_~=:. \/;@])+$/', str_replace('"', '', $record['dns_txt_data']))) {
- ---
- > } elseif (!preg_match('/^([a-zA-Z0-9\+\?\-\*_~=:. \/])+$/', str_replace('"', '', $record['dns_txt_data']))) {
[/feedquote]