Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78876 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93759 invoked from network); 12 Nov 2014 07:09:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Nov 2014 07:09:48 -0000 Authentication-Results: pb1.pair.com header.from=dunglas@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=dunglas@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.180 as permitted sender) X-PHP-List-Original-Sender: dunglas@gmail.com X-Host-Fingerprint: 209.85.212.180 mail-wi0-f180.google.com Received: from [209.85.212.180] ([209.85.212.180:35410] helo=mail-wi0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 93/E2-02954-AB703645 for ; Wed, 12 Nov 2014 02:09:47 -0500 Received: by mail-wi0-f180.google.com with SMTP id hi2so3868415wib.1 for ; Tue, 11 Nov 2014 23:09:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=1hZgF3wZG6O+bSvMCWHV9V1HPn50g0ncH8TbgRxx5SI=; b=xd41aty7vCkLRqRge7Ium+k0PqNKKAOMUzLdWK2man+QFjsEFQ+C321GH4FG2C/SLj NfbVRvLuMxCWZ+lVNQrkAzYy6GVFISVE5hAeSVi0/JWXXjhJTf4Ba5kbDXi0uaHRBJg4 DhjC5/8mhev1DgpY2th5wERMnvS9+C550qVEK4IgO4QC34mx3BiyhQInUFLozFXUNGQu gUQvZMVDmYX/8LHeWzrnpu42nquiKf2k/Es0w9g7Q7lNmQqoyRJLV0d0pTnZq0Bg4eso VhX8CPmWRqXRupa6RHsfrcj7zamOaEd1n39S2EiR0dgnakQ+rFvKoASVDvxpTJRMCHSo 3SqQ== X-Received: by 10.180.9.103 with SMTP id y7mr3948303wia.5.1415776183721; Tue, 11 Nov 2014 23:09:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.40.68 with HTTP; Tue, 11 Nov 2014 23:09:23 -0800 (PST) In-Reply-To: References: Date: Wed, 12 Nov 2014 08:09:23 +0100 Message-ID: To: Yasuo Ohgaki Cc: Sanford Whiteman , Sean Coates , Andrey Andreev , Daniel Ribeiro , PHP Internals Content-Type: multipart/alternative; boundary=001a11c238b8833ec40507a4143e Subject: Re: [PHP-DEV] Better RFC conformance for FILTER_VALIDATE_URL From: dunglas@gmail.com (=?UTF-8?Q?K=C3=A9vin_Dunglas?=) --001a11c238b8833ec40507a4143e Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, I'll change my PR according to the RFC I've quoted earlier: - check for valid characters (excluding underscore) only when FILTER_FLAG_HOSTNAME is set - allow any character but check lengths by default - use FILTER_FLAG_HOSTNAME to validate URLs What do you think about that? Best regards, 2014-11-12 7:38 GMT+01:00 Yasuo Ohgaki : > Hi all, > > On Fri, Nov 7, 2014 at 6:48 AM, Sanford Whiteman > wrote: > >> > FWIW, there *is* a practical in-use (de facto if nothing else) >> convention of using _ in hosts for DKIM: >> >> _domainkey is actually in all the DKIM RFCs and in the formal STD 76, >> see =C2=A7 3.6.2.1. Namespace, so it's more than a convention! > > > "_" is used for service name. Active Directory uses "_" a lot, for > example. e.g. _tcp, _sites, _ldap, etc. > > https://tools.ietf.org/html/rfc2782 > > Regards, > > -- > Yasuo Ohgaki > yohgaki@ohgaki.net > --=20 K=C3=A9vin Dunglas http://dunglas.fr --001a11c238b8833ec40507a4143e--