Skip to content

Commit 68d594a

Browse files
Merge pull request #5993 from Countly/SER-2307
[SER-2307] There is single quotation mark problem on the App name
2 parents fa9d08c + c74914d commit 68d594a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## Version 24.05.25
22
Fixes:
3+
- [app-management] Unescaping HTML for created/updated application names
34
- [countly-edge] Add import from Countly Edge Server
45
- [languages] Calculated total users percentage correctly
56

frontend/express/public/core/app-management/javascripts/countly.views.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -386,6 +386,7 @@
386386
countlyGlobal.admin_apps[data._id] = data;
387387
Backbone.history.appIds.push(data._id + "");
388388
countlyGlobal.apps[data._id].image = "appimages/" + data._id + ".png?" + Date.now().toString();
389+
self.apps[data._id].name = countlyCommon.unescapeHtml(data.name);
389390
self.appList.push({
390391
value: data._id + "",
391392
label: data.name
@@ -448,6 +449,7 @@
448449
countlyGlobal.admin_apps[self.selectedApp][modAttr] = data[modAttr];
449450
}
450451
countlyGlobal.apps[self.selectedApp].label = data.name;
452+
self.apps[self.selectedApp].name = countlyCommon.unescapeHtml(data.name);
451453
for (var i = 0; i < self.appList.length; i++) {
452454
if (self.appList[i].value === self.selectedApp) {
453455
self.appList[i].label = data.name;

0 commit comments

Comments
 (0)