[php-src] PR #22700: ext/uri: Fix GH-22628 Percent-encoding of caret in WHATWG URL paths is not performed
| From: | kocsismate | Date: | Sat, 11 Jul 2026 19:49:03 +0000 |
| Subject: | [php-src] PR #22700: ext/uri: Fix GH-22628 Percent-encoding of caret in WHATWG URL paths is not performed | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36979@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22700
Author: kocsismate
The caret (^) is part of the path percent-encode set:
"The path percent-encode set is a percent-encode set consisting of the query percent-encode set
and U+003F (?), U+005E (^), U+0060 (`), U+007B ({), and U+007D (})."
Until now, this character wasn't percent-encoded in the path likely due to a copy-paste error.
This mistake is fixed by adding LXB_URL_MAP_PATH to the lxb_url_map entry for the caret.
9682ea0190b