Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77410 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5613 invoked from network); 21 Sep 2014 08:42:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Sep 2014 08:42:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=florian@margaine.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=florian@margaine.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain margaine.com from 209.85.223.173 cause and error) X-PHP-List-Original-Sender: florian@margaine.com X-Host-Fingerprint: 209.85.223.173 mail-ie0-f173.google.com Received: from [209.85.223.173] ([209.85.223.173:39507] helo=mail-ie0-f173.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 19/10-03322-07F8E145 for ; Sun, 21 Sep 2014 04:42:25 -0400 Received: by mail-ie0-f173.google.com with SMTP id tr6so5954220ieb.32 for ; Sun, 21 Sep 2014 01:42:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=ZsSy4OEnV5uVRgER4hipUoCOFUiqS3o+0YOGFS2+CJI=; b=jaOCF9/tf5P9zOSiIkRWaY/hE/57p5p+19sToFUY3vXZvAOpG6gxMLB4vQ9xytoBxj X446LXGhKf9KLwz6OpkcftqzCvMchAmejGwzkXa9i++AFL1K/ODK1Z/uC5K9drP2T1/l gwsTkkPqCmGnpAqw6QdZb4J0IIMPmJzcz4PUs701ExgaQf+AZUJh/WG86roNiek5W7tJ 8JgUiR2rWuTRpQSbCYSBDieUZ4hKyxRYcNYqRKFnhdZJBWEfTm6AYScs6Za37vMFMGy9 QEHBiwVQCEu2M6wUJAai6JA15hf+UT8NjmDRc4A2wfsvAdBgvVuWqQ14lYLXSpBeEvrj QXAg== X-Gm-Message-State: ALoCoQmR2KpMGtjQG6DHqb/GOwZ9Xf54ljlA4A1GXqYJ8Yq0GmxsfuJH2yaFO9qBe9cS0v3wPil1 X-Received: by 10.42.216.17 with SMTP id hg17mr382127icb.69.1411288941360; Sun, 21 Sep 2014 01:42:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.41.20 with HTTP; Sun, 21 Sep 2014 01:42:01 -0700 (PDT) X-Originating-IP: [89.92.205.106] Date: Sun, 21 Sep 2014 10:42:01 +0200 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=f46d04089005069eca05038f5049 Subject: [PHP-DEV] #68049 filter_var echo wrong result for a url From: florian@margaine.com (Florian Margaine) --f46d04089005069eca05038f5049 Content-Type: text/plain; charset=UTF-8 Hi, According to https://bugs.php.net/bug.php?id=51192 , valid URLs cannot contain underscores. The following bug was reported a couple days ago: https://bugs.php.net/bug.php?id=68049 The thing is, browsers *do* accept the underscore in URLs. Should the rfc3986 be respected, or should PHP be lenient like browsers and accept more? Regards, *Florian Margaine* --f46d04089005069eca05038f5049--