Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127132 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 6170B1A00BC for ; Thu, 17 Apr 2025 11:18:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1744888574; bh=QX7Gg5T1/PbWruzU7/biyClyPpOR6eRDRqr0+iVi43o=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=l3WPm5s1P5KSSBFjkv5TdCC5nKxtOa8yohanYhdMKfR1N4Y/Gkt8CamCxuXi3YEW9 hRW3e8lN1FGEdOQv/ZajjRkV4YWYAbYOr5Ll9jkW5PmB8Zg9/kRql+XLsNFZyO7sC5 a2hSORRBEG4MSCWeknuVNLC2Ni9wQZRF13dKkRLMBj7opdlWrbyvwm4PSdNKuJzoMu hBf5C7SqwVZ7mMyAq+IwhNmVXXjpyMavLc1xdUiE/UfMvTxiwxlmLWuHvT7AZPeq5f 0WCPxRIgEfaURUmN5xpdc3o7IGBVlOkuyhb8mhVbytjWxkBeIDpCueA5rB1yS5HVQf 5YNpoasMa2UxQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E45A718004F for ; Thu, 17 Apr 2025 11:16:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.9 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-qt1-f177.google.com (mail-qt1-f177.google.com [209.85.160.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 17 Apr 2025 11:16:13 +0000 (UTC) Received: by mail-qt1-f177.google.com with SMTP id d75a77b69052e-477296dce8dso6150001cf.3 for ; Thu, 17 Apr 2025 04:18:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744888714; x=1745493514; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=QX7Gg5T1/PbWruzU7/biyClyPpOR6eRDRqr0+iVi43o=; b=T0p1eh7YZltgDc47GGLDjRKleLG7tP4diMK0392a0zbmTZdK7QBexe7envbPwWSado 8KnW0YW3JGQjUI43HcPEblxgxvEZCVDdM2OiVykgbDNda8F6bP2zajADtlPwkHgqU92U oB1jR59az504D9bGdx/dC8xvquuAN9f9OwPbLNGN6FjKVYaK8V4ydLX7vcJtNn1UX7Uj ZkNmkQhsjFQ7xndntC6/BxjWG6HxLSm07sbzIp8qmS0mXQwajP90lgc8VdM8c9NlY2lE l5LCooQDJuSn7frVgraotTtelyGQMnThjaKjoV6oCftus5n2YZ5FAbHqTt6emYPXcwTA MPFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744888714; x=1745493514; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QX7Gg5T1/PbWruzU7/biyClyPpOR6eRDRqr0+iVi43o=; b=GVf7vuZr7q1HIesISI93F6cBoMSOhsSRT9iEPB+3F/fufx+vwiNQEMm+5AX+3oUTGe pYOZVAgBDTmP4QqblBngCwykb9M2M3/Xcx9R0UxomYsf+mUgZUf4rCS1DKNAz+fIOz1u PdTouoYCFo/7kEtKb+r/oXKkO3l7CINhvEZIVjsNEEFYMIaWGAKlNX5z7X2if+Lq8nud A5P0cT9msVUZuVwc8RpJLReqyR0EfAOls1QXlm7u/RrT0iYSvtmN4r9Tu/b4lxJ3po8s WCvT2Lfv/ZHPhrVroy/RuzU+l0ASGMArgBdF69k063tnEQljgq83ktlUaJXRYFZSKDiL SpYA== X-Gm-Message-State: AOJu0YxiQYXu1Phlasg4aJK1945oZ84ItbEiX8NwcRn/jKvlKri/ul0G 73RGXiT8bLstFGLaOSnGqANXfv0Zsd/3PK7HZ90RJOaVN3W9DU14+vlvqwXZDJ3S3ihhHLzK0B5 q3C/UkjraPKk76g9+sjhF55GyS+WQUV+7 X-Gm-Gg: ASbGncu2vZ3kPtglKSJ4mZVRWh9J4QQZILrKKaat1lxu6yQ1MLW0moG5MIhHDj5+/v4 B8ccqRNEcDFk9FuZZSv/d7SEhVf0dY5OiYHz0sIiaqFBhE9SNMUaVcF5K6zNQOt8nanc0KMGj8s 1X4HSc2xaBnmZ0pSOaeiKp1g== X-Google-Smtp-Source: AGHT+IHEY35/NDu83AcdzpCUzJiL+JY1G2ub8RQLtvLiJRkL7tm5fC2nEoYYiZkGm6EGyJ7q6XkYgwXAc9hX/BfjnSc= X-Received: by 2002:a05:622a:1195:b0:476:6d30:8aed with SMTP id d75a77b69052e-47ad81675eemr86942321cf.49.1744888714193; Thu, 17 Apr 2025 04:18:34 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net x-ms-reactions: disallow MIME-Version: 1.0 References: <1BCB4144-231D-45EA-A914-98EE8F0F503A@automattic.com> <8E614C9C-BA85-45D8-9A4E-A30D69981C5D@automattic.com> <8df04e01-deac-404b-beb7-cd982423db63@bastelstu.be> <33427cd03035ef084245c44290b56a55@bastelstu.be> <0aa1eefc3941bdea0092e935074daa58@bastelstu.be> In-Reply-To: <0aa1eefc3941bdea0092e935074daa58@bastelstu.be> Date: Thu, 17 Apr 2025 13:18:21 +0200 X-Gm-Features: ATxdqUEIjJpU6_Tm0c8TW3R0uTja0jcFtzQZYv83RPN6Hq6WDDb2yiBqjZ9tzA4 Message-ID: Subject: Re: [PHP-DEV] [RFC] [Discussion] Add WHATWG compliant URL parsing API To: =?UTF-8?Q?Tim_D=C3=BCsterhus?= Cc: Internals Content-Type: multipart/alternative; boundary="000000000000fb71460632f78f01" From: kocsismate90@gmail.com (=?UTF-8?B?TcOhdMOpIEtvY3Npcw==?=) --000000000000fb71460632f78f01 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, Tim D=C3=BCsterhus ezt =C3=ADrta (id=C5=91pont: 2025. = =C3=A1pr. 17., Cs, 9:22): > Hi > > Am 2025-04-15 23:55, schrieb M=C3=A1t=C3=A9 Kocsis: > > This was one of my (unspoken) ideas as well. I used to think there must > > have been a correct logic > > for percent-decoding of WHATWG components, but if none of us can come > > up > > with a sensible > > idea, then it's best not to try it, I agree. > > Sweet. I believe this was/is the last remaining blocker for the RFC or > is there still anyone else from your side that needs to be discussed? I > need to give the RFC another read once you made the adjustment to remove > the WhatWg raw methods (and adjusted the corresponding explanations), > but I think I'm happy then :-) > No, I also think that was the last one, as I don't have any questions left. Although, we should finalize what the WHATWG getters should be named? I like the explicit "raw" that you suggested, but I can also see that it may be confusing for some people. Altogether I think I prefer adding "raw" so that it's clear that they behave similarly how the raw RFC 3986 getters do. > For the latest changes from Tuesday, I see that you added the > WhatWg-specific `InvalidUrlException`. The `Uri\InvalidUriException` > however still has the `$errors` property. I think you might have > forgotten to remove it, since the Rfc3986 implementation / the base > exception does not expose any errors, right? > I made the changes in the RFC in a hurry, so yes, I forgot to remove the property. Thanks! M=C3=A1t=C3=A9 --000000000000fb71460632f78f01 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,


Tim D=C3=BCsterhus <= tim@bastelstu.be> ezt =C3=ADrta (id=C5=91pont: 2025. =C3=A1pr. 17., = Cs, 9:22):
Hi
Am 2025-04-15 23:55, schrieb M=C3=A1t=C3=A9 Kocsis:
> This was one of my (unspoken) ideas as well. I used to think there mus= t
> have been a correct logic
> for percent-decoding of WHATWG components, but if none of us can come =
> up
> with a sensible
> idea, then it's best not to try it, I agree.

Sweet. I believe this was/is the last remaining blocker for the RFC or
is there still anyone else from your side that needs to be discussed? I need to give the RFC another read once you made the adjustment to remove the WhatWg raw methods (and adjusted the corresponding explanations),
but I think I'm happy then :-)

No, = I also think that was the last one, as I don't have any questions left.= Although,
we should finalize what=C2=A0the WHATWG getters should= be named? I like the explicit "raw"
that you suggested= , but I can also see that it may be confusing for some people. Altogether
I think I prefer adding "raw" so that it's clear tha= t they behave similarly how the raw RFC 3986 getters
do.


For the latest changes from Tuesday, I see that you added the
WhatWg-specific `InvalidUrlException`. The `Uri\InvalidUriException`
however still has the `$errors` property. I think you might have
forgotten to remove it, since the Rfc3986 implementation / the base
exception does not expose any errors, right?

I made the changes in the RFC in a hurry, so yes, I forgot to remove = the property. Thanks!
=C2=A0
M=C3=A1t=C3=A9
<= br>
--000000000000fb71460632f78f01--