Skip to content

Commit dd48431

Browse files
authored
Merge pull request #6138 from Countly/SER-1095-crash-log-unescape
[SER-1095] Crash log unescape
2 parents e12ca73 + 1222970 commit dd48431

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Version 24.05.x
22
Features:
33
- [dashboards] Added the option to set a refresh rate for dashboards, allowing data to update more frequently for selected dashboards.
4+
- [crashed] Fix unescaped SDK logs
45

56
## Version 24.05.29
67
Fixes:

plugins/crashes/frontend/public/javascripts/countly.models.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,9 @@ function transformAppVersion(inpVersion) {
808808
}
809809

810810
crashgroupJson.data.forEach(function(crash, crashIndex) {
811+
// unescape logs
812+
crashgroupJson.data[crashIndex].logs = countlyCommon.unescapeHtml(crash.logs);
813+
811814
if (crash.uid in userIds) {
812815
userIds[crash.uid].push(crashIndex);
813816
}
@@ -1327,4 +1330,4 @@ function transformAppVersion(inpVersion) {
13271330
return resultQuery;
13281331
};
13291332

1330-
}(window.countlyCrashes = window.countlyCrashes || {}));
1333+
}(window.countlyCrashes = window.countlyCrashes || {}));

0 commit comments

Comments
 (0)