Skip to content

ext/dom: querySelector() + non-ASCII leading identifier rejection. - #25520

Closed
devnexen wants to merge 1 commit into
php:PHP-8.4from
devnexen:gh25501
Closed

devnexen wants to merge 1 commit into
php:PHP-8.4from
devnexen:gh25501

Conversation

@devnexen

@devnexen devnexen commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Fix GH-25501

The bundled lexbor CSS tokenizer missed the U+00B7, U+00C0 to U+00F6 and U+037D ident code points, swallowed a rejected code point at the end of an ident, and tested UTF-8 lead bytes against its ASCII name table. Backport the upstream fixes 3a5217afde, 70b790f828, 7e56383173 and ce777c50f2.

@devnexen devnexen changed the title Fix GH-25501: querySelector() + non-ASCII leading identifier rejection. ext/dom: querySelector() + non-ASCII leading identifier rejection. Nov 17, 2026
Fix phpGH-25501

The bundled lexbor CSS tokenizer missed the U+00B7, U+00C0 to U+00F6 and
U+037D ident code points, swallowed a rejected code point at the end of an
ident, and tested UTF-8 lead bytes against its ASCII name table. Backport
the upstream fixes 3a5217afde, 70b790f828, 7e56383173 and ce777c50f2.
@devnexen
devnexen marked this pull request as ready for review November 17, 2026 16:35
@devnexen
devnexen requested a review from kocsismate November 17, 2026 16:36
@devnexen devnexen closed this in 3e379b4 Nov 21, 2026
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.

2 participants