Skip to content

Conversation

TimWolla
Copy link
Member

Requested Remi's and RM review, because of the updated minimum version for an external uriparser library. Given that the URI extension is completely new, I believe it's best to ship with the “best possible” version of uriparser to make a good first impression.


This is specifically to backport uriparser/uriparser#265.

Fixes #19897.

Copy link
Member

@edorian edorian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No RM objections, please note this also need approval from @DanielEScherzer given that we're in the RC phase.

Copy link
Member

@DanielEScherzer DanielEScherzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

RM approval, please be sure to add a NEWS entry for RC2

* the size header.
* memory->reallocarray is uriEmulateReallocarray.
* <ul>
* <li><c>memory-&gt;calloc</c> is <c>uriEmulateCalloc</c>.</li>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure about some of this &gt; escaping but if that is what upstream does...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. This is a straight copy and paste from upstream's src/ and include/ directories (only ext/uri/uriparser/src/UriConfig.h is generated from ext/uri/uriparser/src/UriConfig.h.in).

@TimWolla
Copy link
Member Author

TimWolla commented Oct 6, 2025

CI failures are due to 08924cd. Merging.

@TimWolla TimWolla merged commit 1ca78dd into php:PHP-8.5 Oct 6, 2025
8 of 10 checks passed
TimWolla added a commit that referenced this pull request Oct 6, 2025
* PHP-8.5:
  uri: Update to uriparser-0.9.9-21-g08df3b2 (#19992)
@TimWolla TimWolla deleted the uriparser-backport branch October 6, 2025 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants