BUG10963: implement a better email verification
Message ID | 1447659054-5138-1-git-send-email-alexander.marx@ipfire.org |
---|---|
State | Superseded |
Headers |
Return-Path: <development-bounces@lists.ipfire.org> Received: from mail01.ipfire.org (mail01.tremer.info [172.28.1.200]) by septima.ipfire.org (Postfix) with ESMTP id 66ABF60FB1 for <patchwork@ipfire.org>; Mon, 16 Nov 2015 08:31:08 +0100 (CET) Received: from hedwig.ipfire.org (localhost [IPv6:::1]) by mail01.ipfire.org (Postfix) with ESMTP id 18474446F; Mon, 16 Nov 2015 08:31:08 +0100 (CET) Received: from nbk-edv.kappeln2011.lan (ip1f11b49c.dynamic.kabel-deutschland.de [31.17.180.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 94A8F4448; Mon, 16 Nov 2015 08:31:05 +0100 (CET) From: Alexander Marx <alexander.marx@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH] BUG10963: implement a better email verification Date: Mon, 16 Nov 2015 08:30:54 +0100 Message-Id: <1447659054-5138-1-git-send-email-alexander.marx@ipfire.org> X-Mailer: git-send-email 1.9.1 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: IPFire development talk <development.lists.ipfire.org> List-Unsubscribe: <http://lists.ipfire.org/mailman/options/development>, <mailto:development-request@lists.ipfire.org?subject=unsubscribe> List-Archive: <http://lists.ipfire.org/pipermail/development/> List-Post: <mailto:development@lists.ipfire.org> List-Help: <mailto:development-request@lists.ipfire.org?subject=help> List-Subscribe: <http://lists.ipfire.org/mailman/listinfo/development>, <mailto:development-request@lists.ipfire.org?subject=subscribe> Errors-To: development-bounces@lists.ipfire.org Sender: "Development" <development-bounces@lists.ipfire.org> |
Message
Alexander Marx
Nov. 16, 2015, 6:30 p.m. UTC
We now check all allowed chars in the address before the @ sign.
To check the fqdn of an email the function validfqdn has been adapted as
well. Here a valid domain part is for example: user@ipfire or user@localhost.localdomain
Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
---
config/cfgroot/general-functions.pl | 30 +++++++++++++++++++-----------
1 file changed, 19 insertions(+), 11 deletions(-)