Changeset 788


Ignore:
Timestamp:
May 14, 2005, 2:56:48 PM (19 years ago)
Author:
plg
Message:
  • bug 114 corrected : webmaster mail address protection. Ability to set an invalid mail address (but not during installation)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_4/admin/configuration.php

    r779 r788  
    6767        array_push($errors, $lang['conf_prefix_thumbnail_error']);
    6868      }
    69       // mail must be formatted as follows : name@server.com
    70       $pattern = '/^[\w-]+(\.[\w-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)+$/';
    71       if (!preg_match($pattern, $_POST['mail_webmaster']))
    72       {
    73         array_push($errors, $lang['conf_mail_webmaster_error']);
    74       }
     69      // as webmaster mail address shown on the website, it can be obfuscated
     70      // and no comply with normal mail address pattern
    7571      break;
    7672    }
Note: See TracChangeset for help on using the changeset viewer.