[wp-trac] [WordPress Trac] #62426: Interactivity API directives support invalid data attribute characters on the server

WordPress Trac noreply at wordpress.org
Mon Mar 24 14:51:37 UTC 2025


#62426: Interactivity API directives support invalid data attribute characters on
the server
-------------------------------------------------+-------------------------
 Reporter:  jonsurrell                           |       Owner:  joemcgill
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.8
Component:  Interactivity API                    |     Version:  6.5
 Severity:  major                                |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests dev-        |     Focuses:
  feedback                                       |
-------------------------------------------------+-------------------------
Changes (by joemcgill):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"60070" 60070]:
 {{{
 #!CommitTicketReference repository="" revision="60070"
 Interactivity API: Apply the same directive name restrictions as the
 client.

 This adds the same logic to filter directive data attributes to ignore
 invalid data attributes that is applied in the client to avoid processing
 directives on the server that will not be processed in the client.

 Props jonsurrell, SirLouen.
 Fixes #62426.
 }}}

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


More information about the wp-trac mailing list