Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BlueScreen displays "\r\n" and "\t" in exception's message #492

Closed
EvilKraft opened this issue Jun 8, 2021 · 0 comments
Closed

BlueScreen displays "\r\n" and "\t" in exception's message #492

EvilKraft opened this issue Jun 8, 2021 · 0 comments

Comments

@EvilKraft
Copy link

EvilKraft commented Jun 8, 2021

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);

@dg dg closed this as completed in e35b60a Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant