[wp-trac] [WordPress Trac] #51485: Wrong encoding of dynamic block properties

WordPress Trac noreply at wordpress.org
Thu Oct 8 13:12:57 UTC 2020


#51485: Wrong encoding of dynamic block properties
--------------------------+-----------------------------
 Reporter:  sosere        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Charset       |    Version:  5.5.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 After update to 5.5.1 German umlauts in dynamic block properties ( strings
 ) are incorrectly encoded/saved in the database.
 Something like this as request:
 <!-- wp:hsu/mitarbeiterblock {"dataPostanschrift":["Universität","Fakultät
 für Elektrotechnik",""],
 becomes (response & db):
 <!-- wp:hsu/mitarbeiterblock
 {"dataPostanschrift":["Universitu00e4t","Fakultu00e4t fu00fcr
 Elektrotechnik",""]

 To reproduce, modify a request and insert umlauts like öäü in properties
 of a block.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/51485>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list