HomePhabricator

Fixed destinations_cache json_encode to only get UTF-8, it is required

Description

Fixed destinations_cache json_encode to only get UTF-8, it is required

Special characters were retrieved as latin1 as this is how the table is defined. PHP
json_encode expects UTF-8. Previously there was an error, but json_encode simply put
<null> on the value it couldn't encode. Nowdays the function fails if you call
it with special characters as latin1, hence destinations cache is empty.

Fixes T485

Details

Provenance
tijmenAuthored on Nov 15 2018, 9:34 AM
Parents
rCDRT6afb538c2930: Fixed wrongly removed code to decode callid, from tag and to tag in trace urls
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task