[wp-trac] [WordPress Trac] #61831: HTML API: Unclosed "funky comment" may not pause at incomplete token
WordPress Trac
noreply at wordpress.org
Tue Aug 6 20:42:17 UTC 2024
#61831: HTML API: Unclosed "funky comment" may not pause at incomplete token
--------------------------------------+------------------------------
Reporter: jonsurrell | Owner: jonsurrell
Type: defect (bug) | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: HTML API | Version: 6.5
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+------------------------------
Changes (by dmsnell):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"58858" 58858]:
{{{
#!CommitTicketReference repository="" revision="58858"
HTML API: Truncated funky comments should cause the Tag Processor to
pause.
A state change was missing in the Tag Processor when the input is too
short to
find a comment closer after an opened funky comment. This patch fixes a
issue
where `</#` does not correctly report incomplete input, but `</# ` does.
Developed in https://github.com/wordpress/wordpress-develop/pull/7146
Discussed in https://core.trac.wordpress.org/ticket/61831
Props: jonsurrell.
Fixes #61831.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61831#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list