The Castle Doctrine Forums

Discuss the massively-multiplayer home defense game.

You are not logged in.

#1 Re: Main Forum » Forum security hole » 2015-04-09 18:38:36

Ya, I'm sorry.

You're lucky there's this function in FluxBB to check email adresses for validity:

function is_valid_email($email)
{
                if (strlen($email) > 80)
                                        return false;

                return preg_match('%^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|("[^"]+"))@((\[\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\])|(([a-zA-Z\d\-]+\.)+[a-zA-Z]{2,}))$%', $email);
}

;-P

See Email for further details.

cheers

Board footer

Powered by FluxBB 1.5.8