Support » Plugin: Restrict New Users by Domain » Case Sensitivity

  • Resolved John168

    (@john168)


    A nice clean little plugin but I have one small enhancement request.

    Can you remove the case sensitivity since email domains are not case sensitive under RFC 1035, section 3.1.

    Specifically these lines $domain = trim(array_pop( $email_parts )); I changed my copy but always prefer to see a plugin author make the change so I don’t have to worry about future upgrades.

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author exportsmedia

    (@exportsmedia)

    Hi John168,

    An excellent suggestion. I have updated the plugin to ignore case when validating the domains. Now Example.com and example.com will validate the same. Thank you for the feedback.

Viewing 1 replies (of 1 total)
  • The topic ‘Case Sensitivity’ is closed to new replies.