Re: [RFC] [Vote] Followup Improvements for ext/uri
| From: | Andreas Heigl | Date: | Wed, 06 May 2026 05:04:25 +0000 |
| Subject: | Re: [RFC] [Vote] Followup Improvements for ext/uri | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-130775@lists.php.net to get a copy of this message | ||
Hey Máté
On 05.05.26 23:20, Máté Kocsis wrote:
Hi Internals, As announced in the discussion thread (https://externals.io/message/129486), I have just started the vote on the ext/uri followup RFC: https://wiki.php.net/rfc/uri_followup. The vote is going to be open until 2026-05-19 22:00:00 (UTC). Regards, MátéOne thing I stumbled upon while going through the RFC a last time is the expected result of the hosttype detectiopn on mailto-URLs. I couldn't find anything about the reasoning in the RFC or in the linked internals-discussion thread why $url = new Uri\WhatWg\Url("mailto:john.doe@example.com"); echo $url->getHostType(); will be
null and not UriHostType::RegisteredName
I might have missed something so please either shed some light on that or point me to the relevant discussion/documentation.
Thanks!
Cheers
Andreas
--
,,,
(o o)
+---------------------------------------------------------ooO-(_)-Ooo-+
| Andreas Heigl |
| mailto:andreas@heigl.org N
50°22'59.5" E 08°23'58" |
| https://andreas.heigl.org
|
+---------------------------------------------------------------------+
| https://hei.gl/appointmentwithandreas
|
+---------------------------------------------------------------------+
| GPG-Key: https://hei.gl/keyandreasheiglorg
|
+---------------------------------------------------------------------+