Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:127135 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 3C3E81A00BC for ; Thu, 17 Apr 2025 11:53:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1744890689; bh=dah6cgXhZJ9oiKf6dT4MQca/T1uGzqjfGX2dB4ABWTo=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Ejg0OFMkW3988nBJukleIxBZsxUNwll0O54guYiKUlJTOLelTfphQ7Skqs3/F/vwY xoOXmdiTclZ8qdwR1ohkhW4n6/6+KCeWTiSGUsRHINXrCPopOEPkOcDZExWPty4o8C rxCZsHnhcip7mWHr49RuPjZlqqoH5zqjnSOOMxFQEvcVTrM/qNnWaTMh3n9iFXk7sk Cmdvo9H/w8qw3dPZOEaYahui/t7DJeWQ9M/dgJTFUsF+auDmMQ3FBF/d2XWRAe3lfB 6XfGu0TGw0TnYRA7W4yHt36w3JTKYsU6H/R0vR1brr/2mSHiBAt+SeL/XcczduiTrU ZRi7Lby7MO3hg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id F1FF81801EB for ; Thu, 17 Apr 2025 11:51:27 +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-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) (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:51:25 +0000 (UTC) Received: by mail-qt1-f173.google.com with SMTP id d75a77b69052e-476af5479feso6539401cf.2 for ; Thu, 17 Apr 2025 04:53:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1744890826; x=1745495626; 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=dah6cgXhZJ9oiKf6dT4MQca/T1uGzqjfGX2dB4ABWTo=; b=WtHYyFV3WpYI6LSuIg+GqvuOxx3/rrw6WZnOV7taDsSJhlTgAyR2jJ3yOQ2tCmQot7 oNG09H3VKv19WSkKsSLP+XZCuvbGnZd/Y5V/SiIdQ4IIpnJzOLtao2P0IDfzoInD40PU 4KjB3nvaLKd9A0Pn9v6DY3z5kBM9/wK+0ZIW7OorMpk3jOlUULhpLCO782wP1+0LMWrj oGgwn9s6MyTuTV8dYa/7AXdEWUGrN0x1bMcYwYOphlKcWX0Tl4dXUR7DyUrfsc+xNHVJ YNbjPrt4WTyOUAA+h6mGFvX44agMS7JjFLd9+xjxRAPF5fynCAOuMVgZa8IEdoXZwFqa Wl9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744890826; x=1745495626; 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=dah6cgXhZJ9oiKf6dT4MQca/T1uGzqjfGX2dB4ABWTo=; b=fm4FOOe6Z+0/xuRAEhCE3OhtaljZGjHVcVgTL0amvep8OuDB9EhfjbfcOqrAl7WepQ X+ugjVInihwbBLKQTkIAKSqnkovhC86hH0apZAzf6JnKsbW3Ggukyb+8vQViHI1JgRGU 8J6uQ2U1UNbP+xyz9RAtv4inMlN/aec6ARlMKD3VIGYtzWd8tPJG3bKuDAF5Fjbco6ZD rP8nqKgPIuaZOJGvoEYrAn4aqLIeyJ8AxziNtYDsGYbBWIg0m4AhJdMPtOqO3Gfwvfo1 DYyItQiyCGOY7Pq+h8QQUzMfrtDXrsvFOq/LWmRUkUXAwfQzQulFykVZDK0S7PnLD/0p YT+w== X-Forwarded-Encrypted: i=1; AJvYcCUFOuFFusQV6VAkgBF4h11QpIUz8wJcM4kGNqSCfwCFCEtEj/99HyVhVoEY73pi5if0trpddn5jB0c=@lists.php.net X-Gm-Message-State: AOJu0Yy5X+zhDxmMhe/ir+E38VkHmq2FPuyMs/M6B7A719L1uv4oyrZt m2/uQA93xFC4ufC78LQoofoI1Fg5rZYVuen93j60kY8l8h7nCcEPB4S2VrTd/dvvy8q2Gkt9hlZ EEQ4F47TfoFds6/OQIGt6wqraRypGez4J X-Gm-Gg: ASbGncvr0Jy9rFhg4K5R5DaKXIQEYmV4KI9Fz2ola6UFb4GP4jJvIMu6Qy9TAYoPJZY eE+kKVQo7bF2G+FwuboAehjgFuZIxuo0PvDzTBCWSHvOf2rXlQMurnMEfCx+okMrkCel041eHzP 0FeHrCP8zKB03He4UbySKdgw== X-Google-Smtp-Source: AGHT+IE9wcBEOg0MjGXXNXCfWyh+XYr/ZSBgMNeaK2MGXuhGDoNpOGMIlMIR7/SmApkWt0k1lgFXxwGWErXPmBnmrhc= X-Received: by 2002:a05:622a:1451:b0:476:7eca:57e7 with SMTP id d75a77b69052e-47ad80c1012mr80940751cf.26.1744890826492; Thu, 17 Apr 2025 04:53:46 -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: Date: Thu, 17 Apr 2025 13:53:34 +0200 X-Gm-Features: ATxdqUGFfQmcHaoxsQLp3s6AZjkpjJAVLKLfFjQWDiaqRvrJz2gQyzZApFIAInU Message-ID: Subject: Re: [PHP-DEV] [RFC] [Discussion] Add WHATWG compliant URL parsing API To: ignace nyamagana butera Cc: =?UTF-8?Q?Tim_D=C3=BCsterhus?= , Internals Content-Type: multipart/alternative; boundary="000000000000e28f300632f80d28" From: kocsismate90@gmail.com (=?UTF-8?B?TcOhdMOpIEtvY3Npcw==?=) --000000000000e28f300632f80d28 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Ignace, > Currently the path is nullable but according to the RFC the path can not > be nullable > According to the RFC the path can have up to 5 ABNF representation > Uh, this is something that I also forgot to sync between the implementation and the RFC. I also recently found out that the get*Path() methods should be non-nullable for both classes, so I recently fixed them. Sorry for the confusion! Regards, M=C3=A1t=C3=A9 --000000000000e28f300632f80d28 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Ignace,
=C2=A0
Currently the path is nullable but ac= cording to the RFC the path can not be nullable=C2=A0
According t= o the RFC the path can have up to 5 ABNF representation

Uh, this is something that I also forgot to sync b= etween the implementation and the RFC. I also recently found out that
=
the get*Path() methods should be non-nullable for both classes, so I r= ecently fixed them. Sorry for the confusion!

Regar= ds,
M=C3=A1t=C3=A9
=C2=A0
--000000000000e28f300632f80d28--