Skip to content

Commit 31bc58f

Browse files
Merge remote-tracking branch 'origin/next' into SER-2219-name-input-improvement
2 parents f1802cc + 1c717b8 commit 31bc58f

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,27 @@ Enterprise Features:
132132
- [users] UI improvements
133133
- [views] Added a quick transition to drill
134134

135+
## Version 24.05.20
136+
Fixes:
137+
- [push] Fixed bug where IOS credentials get mixed up while sending messages from different apps at the same time
138+
- [push] Fixed bug where it crashes in connection pool growth because of a type mismatch in an if condition
139+
140+
Security:
141+
- [cohorts] Prevent query injection on cohort creation
142+
143+
Dependencies:
144+
- Bump countly-sdk-nodejs from 22.6.0 to 24.10.0
145+
- Bump countly-sdk-web from 24.4.1 to 24.11.0
146+
- Bump express from 4.21.1 to 4.21.2
147+
- Bump form-data from 4.0.0 to 4.0.1
148+
- Bump jimp from 0.22.12 to 1.6.0
149+
- Bump jsdoc from 4.0.3 to 4.0.4
150+
- Bump mocha from 10.2.0 to 10.8.2
151+
- Bump mongodb from 4.9.1 to 4.17.2
152+
- Bump nodemailer from 6.9.15 to 6.9.16
153+
- Bump puppeteer from 23.8.0 to 23.9.0
154+
- Bump tslib from 2.7.0 to 2.8.1
155+
135156
## Version 24.05.19
136157
Fixes:
137158
- [dashboards] Fixing issue where dashboard widgets go into single column

plugins/star-rating/api/api.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -722,9 +722,15 @@ function uploadFile(myfile, id, callback) {
722722
if (!changes.targeting) {
723723
changes.targeting = {};
724724
}
725+
if (!changes.targeting.user_segmentation) {
726+
changes.targeting.user_segmentation = '{"query":{},"queryText":""}';
727+
}
728+
if (!changes.targeting.steps) {
729+
changes.targeting.steps = '[]';
730+
}
725731
changes.targeting.app_id = params.app_id + "";//has to be string
726732
// eslint-disable-next-line
727-
createCohort(params, type, widgetId, changes.targeting, function(cohortId) { //create cohort using this
733+
createCohort(params, type, widgetId, changes.targeting, function(cohortId) { //create cohort using this
728734
if (cohortId) {
729735
//update widget record to have this cohortId
730736
common.db.collection("feedback_widgets").findAndModify({ "_id": widgetId }, {}, { $set: { "cohortID": cohortId } }, function(/*err, widget*/) {

ui-tests/cypress/lib/dashboard/manage/configurations/configurations.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ const verifyPageElements = () => {
725725

726726
cy.verifyElement({
727727
element: configurationsListBoxElements({ subFeature: SETTINGS.SECURITY.API_ADDITIONAL_HEADERS }).SELECTED_SUBFEATURE_TEXTAREA,
728-
value: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nAccess-Control-Allow-Origin:*",
728+
value: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nStrict-Transport-Security:max-age=31536000; includeSubDomains; preload\nAccess-Control-Allow-Origin:*",
729729
});
730730

731731
cy.verifyElement({
@@ -740,7 +740,7 @@ const verifyPageElements = () => {
740740

741741
cy.verifyElement({
742742
element: configurationsListBoxElements({ subFeature: SETTINGS.SECURITY.DASHBOARD_ADDITIONAL_HEADERS }).SELECTED_SUBFEATURE_TEXTAREA,
743-
value: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nStrict-Transport-Security:max-age=31536000 ; includeSubDomains\nX-Content-Type-Options: nosniff"
743+
value: "X-Frame-Options:deny\nX-XSS-Protection:1; mode=block\nStrict-Transport-Security:max-age=31536000; includeSubDomains; preload\nX-Content-Type-Options: nosniff"
744744
});
745745

746746
cy.verifyElement({
@@ -1844,4 +1844,4 @@ const verifyPageElements = () => {
18441844

18451845
module.exports = {
18461846
verifyPageElements
1847-
};
1847+
};

0 commit comments

Comments
 (0)