Closed EvilKraft closed 3 years ago
Version: 2.8.4
... BlueScreen displays "\r\n" and "\t" in exception's message
... Make an SQL error.
https://ibb.co/16GJ69D
... Expected clear message text
in Tracy/BlueScreen/BlueScreen->formatMessage() line 375 Add: $msg = str_replace('<i>\r\n</i>', '', $msg); $msg = str_replace('<i>\t</i>', '', $msg);
$msg = str_replace('<i>\r\n</i>', '', $msg);
$msg = str_replace('<i>\t</i>', '', $msg);
Version: 2.8.4
Bug Description
... BlueScreen displays "\r\n" and "\t" in exception's message
Steps To Reproduce
... Make an SQL error.
https://ibb.co/16GJ69D
Expected Behavior
... Expected clear message text
Possible Solution
in Tracy/BlueScreen/BlueScreen->formatMessage() line 375 Add:
$msg = str_replace('<i>\r\n</i>', '', $msg);
$msg = str_replace('<i>\t</i>', '', $msg);