countly-server icon indicating copy to clipboard operation
countly-server copied to clipboard

Not displaying special characters in crash logs

Open am3n opened this issue 1 year ago • 3 comments

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

am3n avatar Jan 12 '24 15:01 am3n

Hello, where are those logs rendered exactly?

ar2rsawseen avatar Jan 12 '24 15:01 ar2rsawseen

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

am3n avatar Jan 12 '24 16:01 am3n

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

ar2rsawseen avatar Jan 12 '24 16:01 ar2rsawseen