Skip to content

Commit

Permalink
more proper regex?
Browse files Browse the repository at this point in the history
  • Loading branch information
dqwiki committed Aug 3, 2019
1 parent d79c5f9 commit 328c3f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public_html/src/appealObject.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 328c3f3

Please sign in to comment.