adec9688 by Florian Schaal

allow SPF-includes like_spf.google.com

1 parent 282cec8c
......@@ -202,7 +202,7 @@ class page_action extends tform_actions {
if (!empty($spf_domain)) {
$rec = split(' ', $spf_domain);
foreach ($rec as $domain) {
if (preg_match('/^[a-zA-Z0-9\\.\\-\\*]{0,64}$/', $domain))
if (preg_match('/^_[a-zA-Z0-9\\.\\-\\*]{0,64}$/', $domain))
$spf_record[] = 'include:' . $domain;
else {
if (isset($app->tform->errorMessage )) $app->tform->errorMessage .= '<br/>' . $app->tform->wordbook["spf_invalid_domain_txt"]. $domain;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!