Countly/countly-server

Not displaying special characters in crash logs

am3n opened this issue · 3 comments

am3n commented

Hi
I create a log in this way, but it is displayed differently in the crash panel

Countly.sharedInstance().crashes().addCrashBreadcrumb("$year/$month/$day $hour:$minute:$second $millisecond - NotifyService > onStart() startId: 3")

Screenshot 2024-01-12 190105

Hello,
where are those logs rendered exactly?

am3n commented

Crash overview > Crash Occurences > Crash Logs (BreadCrumb)
I have seen this on Chrome and Opera browsers.
I think this issue is related to Back-end and not Front.
Screenshot 2024-01-12 192840

Ok thank you
I will create an internal ticket for this and update you here when it is done.
Basically, by default we escape data and do not render it as HTML for security purposes, so things like that might happen, and we need to make exceptions :)