Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:118043 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 9590 invoked from network); 22 Jun 2022 10:13:46 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 22 Jun 2022 10:13:46 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D13311804D4 for ; Wed, 22 Jun 2022 05:03:15 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 22 Jun 2022 05:03:15 -0700 (PDT) Received: by mail-wm1-f42.google.com with SMTP id z17so9097441wmi.1 for ; Wed, 22 Jun 2022 05:03:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=craigfrancis.co.uk; s=default; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=4MQ+xdAotNiZyoSN/9XKbZsO0uKmHojzmkQfsqObcnc=; b=I0Z0RZsLijTHk0+vsz8gtrZxM/eDYOkiVq0w2BdrUP8bXUav+M6WJAhTAP2e6ZJj58 pSWF491ur23dC52zrsvnJT80NGqQXSIzP+FowBJYgSgUURhfi2wfCsyRjRG9ekgdB2+A o+cUy5DwkwghzxR+POTs0thEWxCwzp6FXPtHI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=4MQ+xdAotNiZyoSN/9XKbZsO0uKmHojzmkQfsqObcnc=; b=v924YVTo5exWZNMGaaY4jC36qRZ5HAN0g66eoY8e8x74k3oTUN5TELQPcoZG7Ji+Yr +x0zqkYRjZiDxqhN+PTb21sEJKuxhpG7okUFQ4MwEDLMss2yi/bK/+o79KyJWBTSrEPj u57pj8uhNjIwHAMIRJQb3UTMHcA5OtGuubNr1oJd47yYkVsY1pJ2dhuKzDyuxgkaomVH 8U/Mm413VknsdyidqSt9wJLhtPJMkdhNK7+difMiXkzFdFcTOCV//sH4bz+D1qW7hSx+ rnHr0/Ivvotv/wwgKFVAf7/wGE4+o2fuy40JjFigqm6Tv81Se8HHUrOYYBLhZ9orti8y mAjg== X-Gm-Message-State: AJIora8Tqu8ayzl3fDHFZQDr7KXvfN8Vb5gA5gD0oWtmsGQWaxE4vjX+ EDhNk/ZDdH0L+M1C6B4e6BNXfA== X-Google-Smtp-Source: AGRyM1sVXnB08vN62npK3nHr5XdjaC2dHRaGZ+F8NNU6LR/SCH+Ro3hR7DL587B+OUoWGB0m1id84Q== X-Received: by 2002:a05:600c:a18d:b0:3a0:2c9a:b3de with SMTP id id13-20020a05600ca18d00b003a02c9ab3demr925425wmb.147.1655899394112; Wed, 22 Jun 2022 05:03:14 -0700 (PDT) Received: from smtpclient.apple ([94.173.138.98]) by smtp.gmail.com with ESMTPSA id x24-20020a7bc218000000b003942a244ee7sm21225469wmi.44.2022.06.22.05.03.12 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jun 2022 05:03:13 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) In-Reply-To: Date: Wed, 22 Jun 2022 13:03:10 +0100 Cc: PHP internals Content-Transfer-Encoding: quoted-printable Message-ID: References: To: Pierrick Charron X-Mailer: Apple Mail (2.3696.100.31) Subject: Re: [PHP-DEV] [RFC] [Under Discussion] New Curl URL API From: craig@craigfrancis.co.uk (Craig Francis) On 22 Jun 2022, at 05:38, Pierrick Charron wrote: > Here is the RFC that reflects our current conversations. >=20 > https://wiki.php.net/rfc/curl-url-api >=20 > Feel free to give any feedback, concern or support :-) Thanks Pierrick, I think this is a good approach to add the URL functionality to PHP 8.2 = with a fairly simple CurlUrl object, just like CurlFile. This would = allow developers to avoid the parsing vulnerability issues (as in, using = two different libraries that can parse a URL in different ways)... then = the completely new, and fully OOP version, would be done at a later = date, after a lot more discussion / planning. Craig