[GIT-PULLS] [php-src] PR #22700: ext/uri: Fix GH-22628 Percent-encoding of caret in WHATWG URL paths is not performed
[email protected] (kocsismate)
| Newsgroups | php.git-pulls |
|---|---|
| Message-ID | <[email protected]> |
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