Data appears with html entities in page "call center queue", field "timeout action"

Status
Not open for further replies.

Zivk

Member
Apr 7, 2019
35
6
8
62
In a newer version of fusionpbx (4.4.11), page call_center_queue_edit.php, field "timeout action", html entities appear weirdly for characters like ':' (colon).
For example I see "transfer:111 XML my_domain.test.com" instead of "transfer:111 XML my_domain.test.com".
In the database, the value is correct with no html entities.

Comparing fusionpbx source code, I see that file .../resources/functions.php, function escape(), invoked in older fusionpbx version the php function htmlspecialchars() but now it invokes the more aggressive htmlentities(). Reverting it to htmlspecialchars() seems to fix the problem.

Is this a fusionpbx problem? Is it correct to invoke htmlescapechars() instead of htmlentities()?

Thanks.
 
Status
Not open for further replies.