Make WordPress Core

Opened 6 years ago

Closed 2 years ago

#51485 closed defect (bug) (worksforme)

Wrong encoding of dynamic block properties

Reported by: sosere Owned by:
Priority: normal Milestone:
Component: Charset Version: 5.5.1
Severity: normal Keywords:
Cc: Focuses:

Description

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 (1)

#1 @desrosj
2 years ago

  • Milestone Awaiting Review
  • Resolutionworksforme
  • Status newclosed

Hi @sosere,

Welcome to Trac! First, I apologize that it took so long for you to receive a response.

I've gone and tested this out in the latest version of WordPress (currently 6.6.1) and I'm unable to reproduce it. I'm going to close this out as worksforme, but if you're still able to reproduce the problem please reopen with more details.

Note: See TracTickets for help on using tickets.