Skip to content

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

Description

@EvilKraft

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions