Ticket #691 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Allow wildcard in banned email domains area

Reported by: andrea_r Assigned to: somebody
Priority: normal Milestone: WPMU 1.0
Component: component1 Version:
Severity: minor Keywords:
Cc:

Description

Under Site Admin -> Options is the lovely and handy ability to add a list of domains with which it reject applications. With the proliferation of very cheap domains, some of them are like hydras.

Can we add in the ability to wildcard some like *.info? Currently we have to specify each and every one.

Change History

07/23/08 12:09:28 changed by donncha

  • status changed from new to closed.
  • resolution set to fixed.

This is already done, sort of. Look at is_email_address_unsafe() in wpmu-functions.php - there's a preg_match() there if you have a regex in the list of domains enclosed in "/" characters.

For example, /.*\.info/ will match *.info