Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:129486 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 lists.php.net (Postfix) with ESMTPS id 3EECA1A00BC for ; Mon, 1 Dec 2025 20:51:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1764622273; bh=RoGtO4MphK0MFWcIeY0Cwy0IIyZlvrZXsnmkgWCIHjU=; h=From:Date:Subject:To:From; b=YKins5aPwsQ9Nus65W61SIvRv/1HwBEuUemwM2SusNxOf3olXj1dV81BzIP7c9Tjf 2CJHMJHlzjXZrT+auTAxS38hn/AWnrCnMQetiVc3ZkTsBQjKW+eNLM47fy7qUAwIVJ E+AuRexxyxEkPc1RIXAxsCWYOPG5a/x041QDFrdsRaRjuYXXyBbBPJHgJkosGiefoy CfiJcllJTfpKMw788ZgBkKs31lq4b4qTP982qivNpUdh4hZVXPUTwnd6LWQxdCHo3l F40LASm8pg+m0O2cTTAaK8FS3hrWuFjKzLr7mcWIXumx8gceNvEKCx7UsFht7rvNym 6ccUKxoNpKhJA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B9D961801C7 for ; Mon, 1 Dec 2025 20:51:08 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) 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, T_SPF_TEMPERROR autolearn=no autolearn_force=no version=4.0.1 X-Spam-Virus: No X-Envelope-From: Received: from mail-qt1-f174.google.com (mail-qt1-f174.google.com [209.85.160.174]) (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 ; Mon, 1 Dec 2025 20:51:05 +0000 (UTC) Received: by mail-qt1-f174.google.com with SMTP id d75a77b69052e-4eda057f3c0so34884101cf.2 for ; Mon, 01 Dec 2025 12:51:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1764622259; x=1765227059; darn=lists.php.net; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=RoGtO4MphK0MFWcIeY0Cwy0IIyZlvrZXsnmkgWCIHjU=; b=JVBbbz7O0ReAI2hETfgJSE9FHJ4CxERXkhBPDiL9wWM0dnSSEz/Vo9jPr/efZkAQ2O A2K9yVroN4d7jUjb0RbblgNuryj00F3HhAN9F5zRot3HNeGpf29xoRKjkHbNWHM97JbS UKh6suI2b4+BxqKJszbZZChwIgTR9+n2pSesHNtzg/SeJDbwEAyx+YeKE4hxW0X/lykk 2w20tV/RLrg5yhEDFt7oCjc+RXRs+5gKAxbML4oMr7+Xui55aspnf3oRUpihz7BWfQme NxysvmLO0cIFWWSJs+JFl1PCvgMKnhrMaZ+tSPQCxuaFMuY/m3jhwLt/Nt3qvZ4JBwSh LmvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1764622259; x=1765227059; h=to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=RoGtO4MphK0MFWcIeY0Cwy0IIyZlvrZXsnmkgWCIHjU=; b=xNlI4QfqaWlWgARP53C4be95/BUOXxfLLO3/4gTuf4y6K0FSCh/bohUBhH3tKg/hTu dlwHvbGXjw0CFOgHQcTNMAt63l7wf7XGUVpCScvpXu0LIPTDIQug0S4j89RNB0RwkVly PFg8+WBFsVeXCE7tLI5p7vJd5VEwKQrfYDc2X0X0sIyuOYtY8e1zclf2n0pF9F7zIaVb LQYrkodIsLtjAb9Ndq92ouPCar2TNlUeY3EwATfD0K6GkRp3Wpg9OyoJPt6fHNmKUqkJ qyRwfwlCbflC16cYneZmIsHj938mVz7pAF4NVjjmY58PORe/zznqpPJ3cNPw3iUgeMdt O/ew== X-Gm-Message-State: AOJu0Yy6YRs+4iZ//4V2WW8dQvuUMGqgX+Pid4sQ2kJr/kU9dMJFLzsq nOHTuKNEy/P8hk4V0hl71+83qcIDcYyRZjSvnlmI6dKK+g7q3heWte3XOWsbG2VwF7Fh2GpQaYP 6Tq0tiLBNHP33sxPxhUaqFrdiHGYospL6UL6C X-Gm-Gg: ASbGnctPBnNn+TgA+t0l78JHluhMzCs3e3epQZxEF3hfLh4aYtkbKCVBC+LHHWkQxGO iVH/HZQPv7JCgPKT4y1dM1BXAP76LbfbtGg4cOIBHiWGd6ozOX0jJ/DSZooOHcuwZIjZzJZcn+v 81UHcqC+kzaIS2qq5/nfulIX05qrSdJJpQ9n16aqAkEKk34qomIDO5j1YsRrwLmxCUkuZ/FXx59 arJKuzgMa+PWfaYRADyYUxfCO5lP0R2VOq/COsfJ+8BQmhDGnnE00AjbPxv2KAkLQI7SNSXcD6u Z+VZ X-Google-Smtp-Source: AGHT+IFg1TP7jiR0UnTgBHraPZGo255pDSDZDJVkVkKhD4Rz4pYraUrrVCza5izsXJdZf/q2+LorEuumwJCU1zPemFs= X-Received: by 2002:ac8:5f46:0:b0:4ee:11bd:f6a9 with SMTP id d75a77b69052e-4ee588aaeb4mr606569541cf.61.1764622259403; Mon, 01 Dec 2025 12:50:59 -0800 (PST) Precedence: list list-help: list-unsubscribe: list-post: List-Id: x-ms-reactions: disallow MIME-Version: 1.0 Date: Mon, 1 Dec 2025 21:50:48 +0100 X-Gm-Features: AWmQ_bmzL3uT_x1yu7HyhUbTNgYkwZzQ8uZYhVcU8vWnqg2Ji6kMV8rM7AHfhIE Message-ID: Subject: [PHP-DEV] [RFC] [Discussion] Followup Improvements for ext/uri To: PHP Internals List Content-Type: multipart/alternative; boundary="000000000000ef3ec70644ea228c" From: kocsismate90@gmail.com (=?UTF-8?B?TcOhdMOpIEtvY3Npcw==?=) --000000000000ef3ec70644ea228c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Everyone, I'd like to introduce my latest RFC that I've been working on for a while now: https://wiki.php.net/rfc/uri_followup. It proposes 5 followup improvements for ext/uri in the following areas: - URI Building - Query Parameter Manipulation - Accessing Path Segments as an Array - Host Type Detection - URI Type Detection - Percent-Encoding and Decoding Support I did my best to write an RFC that was at least as extensive as https://wiki.php.net/rfc/url_parsing_api had become by the end. Despite my efforts, there are still a couple things which need a final decision, or which need to be polished/improved. Some examples: - How to support array/object values for constructing query strings? ( https://wiki.php.net/rfc/uri_followup#type_support) - How to make the UriQueryParams and UrlQueryParams classes more interoperable with the query string component (mainly with respect to percent-encoding)? ( https://wiki.php.net/rfc/uri_followup#percent-encoding_and_decoding) - Exactly how the advanced percent-decoding capabilities should work? Does it make sense to support all the possible modes (UriPercentEncodingMode) for percent-decoding as well ( https://wiki.php.net/rfc/uri_followup#percent-encoding_and_decoding_support= ) - etc. Regards, M=C3=A1t=C3=A9 --000000000000ef3ec70644ea228c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Everyone,

I'd like to introduce = my latest RFC that I've been working on for a while now: https://wiki.php.net/rfc/uri_followup.


there are still a couple things which need=C2=A0a fi= nal decision, or which need=C2=A0to be polished/improved. Some examples:

- How to support array/object values for constructin= g query strings? (https://wiki.php.net/rfc/uri_followup#type_support)
- H= ow to make the UriQueryParams and=C2=A0UrlQueryParams classes more interope= rable with the query string component (mainly with respect to percent-encod= ing)? (https://wiki.php.net/rfc/uri_followup#percent-encoding_and_deco= ding)
- Exactly how the advanced percent-decoding capabilitie= s should work? Does it make sense to support all the possible modes (UriPer= centEncodingMode) for percent-decoding as well (https://wiki.p= hp.net/rfc/uri_followup#percent-encoding_and_decoding_support)
- etc.

Regards,
M=C3=A1t=C3=A9
--000000000000ef3ec70644ea228c--