Skip to content
Permalink
Browse files

more proper regex?

  • Loading branch information...
dqwiki committed Aug 3, 2019
1 parent d79c5f9 commit 328c3f357c7ce5ebc9b9c31a8d9290de218751bd
Showing with 2 additions and 2 deletions.
  1. +2 −2 public_html/src/appealObject.php
@@ -71,11 +71,11 @@ class Appeal extends Model {
/**
* Email blacklist in regex form
*/
public static $EMAIL_BLACKLIST = '~@(wiki(p|m)edia|mailinator|yandex|hackerous-tiger)~';
public static $EMAIL_BLACKLIST = '/.*@(wiki(p|m)edia|mailinator|yandex|hackerous-tiger).*/';
/**
* Email blacklist in regex form
*/
public static $EMAIL_TLD_WHITELIST = '~@~\.(ca|com|org|edu|us|au|in|de)';
public static $EMAIL_TLD_WHITELIST = '/.*@.*\.(ca|com|org|edu|us|au|in|de)/';
/**
* Database ID number
*/

0 comments on commit 328c3f3

Please sign in to comment.
You can’t perform that action at this time.