[wp-trac] [WordPress Trac] #58637: HTML API: Fatal error processing document with unclosed attribute

WordPress Trac noreply at wordpress.org
Tue Jul 4 09:55:21 UTC 2023


#58637: HTML API: Fatal error processing document with unclosed attribute
--------------------------------------+------------------------------
 Reporter:  dlh                       |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  HTML API                  |     Version:  6.2
 Severity:  normal                    |  Resolution:
 Keywords:  has-unit-tests has-patch  |     Focuses:
--------------------------------------+------------------------------

Comment (by dmsnell):

 @dlh not only that, but I think it's fair to ask someone about adding this
 into 6.3 as a bug fix, because it ''is'' a real bug and this is a pointed
 bug fix.

 @bernhard-reiter @azaozz thoughts here? if you're catching up, I'm sorry
 and not sure how we missed this one since it's essentially a replay of
 what we saw on WordPress.com before it was merged into Core, but I think
 this was the only place where such an oversight was made, or at least, on
 inspection this is the only place where we weren't checking for index-out-
 of-bounds before calling `strpos()` (that is, after that earlier fix
 months ago).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/58637#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list