diff --git a/src/index.php b/src/index.php index af8cced..c582926 100644 --- a/src/index.php +++ b/src/index.php @@ -32,7 +32,7 @@ if (isset($_POST['username']) && isset($_POST['domain'])) { exit(); } else { // print emails with html template - $address = filter_var($_SERVER['QUERY_STRING'], FILTER_SANITIZE_EMAIL); + $address = strtolower(filter_var($_SERVER['QUERY_STRING'], FILTER_SANITIZE_EMAIL)); $username = _clean_username($address); $domain = _clean_domain($address); if (empty($username) || empty($domain)) {