Make WordPress Core

Opened 4 years ago

#51485 new defect (bug)

Wrong encoding of dynamic block properties

Reported by: sosere's profile sosere Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.5.1
Component: Charset Keywords:
Focuses: Cc:


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.

Change History (0)

Note: See TracTickets for help on using tickets.