File tree Expand file tree Collapse file tree 3 files changed +35
-5
lines changed Expand file tree Collapse file tree 3 files changed +35
-5
lines changed Original file line number Diff line number Diff line change 1+ ## Version 24.05.13
2+ Fixes:
3+ - [ alerts] Fixed bugs related to NPS alerts
4+ - [ crash] Reworked symbol files upload to support larger symbol files
5+ - [ push] Fixed bug that would surface when sending Array or Object related payload
6+
7+ Enterprise fixes:
8+ - [ ab-testing] Slight improvements to the UI and UX
9+ - [ remote-config] Slight improvements to the UI and UX
10+
11+ Enterprise Features:
12+ - [ ab-testing] Improved UI for selecting AB test expiration
13+
114## Version 24.05.12
215Fixes:
316- [ dashboards] Fixes for dashboards grid
Original file line number Diff line number Diff line change @@ -370,10 +370,18 @@ plugins.connectToAllDatabases().then(function() {
370370 }
371371
372372 const form = new formidable . IncomingForm ( formidableOptions ) ;
373- req . body = '' ;
374- req . on ( 'data' , ( data ) => {
375- req . body += data ;
376- } ) ;
373+ if ( / c r a s h _ s y m b o l s \/ ( a d d _ s y m b o l | u p l o a d _ s y m b o l ) / . test ( req . url ) ) {
374+ req . body = [ ] ;
375+ req . on ( 'data' , ( data ) => {
376+ req . body . push ( data ) ;
377+ } ) ;
378+ }
379+ else {
380+ req . body = '' ;
381+ req . on ( 'data' , ( data ) => {
382+ req . body += data ;
383+ } ) ;
384+ }
377385
378386 let multiFormData = false ;
379387 // Check if we have 'multipart/form-data'
@@ -432,4 +440,4 @@ plugins.connectToAllDatabases().then(function() {
432440
433441 plugins . loadConfigs ( common . db ) ;
434442 }
435- } ) ;
443+ } ) ;
Original file line number Diff line number Diff line change @@ -1824,6 +1824,9 @@ const processRequest = (params) => {
18241824 switch ( paths [ 3 ] ) {
18251825 case 'all' :
18261826 validateRead ( params , 'core' , ( ) => {
1827+ if ( ! params . qstring . query ) {
1828+ params . qstring . query = { } ;
1829+ }
18271830 if ( typeof params . qstring . query === "string" ) {
18281831 try {
18291832 params . qstring . query = JSON . parse ( params . qstring . query ) ;
@@ -1864,6 +1867,9 @@ const processRequest = (params) => {
18641867 break ;
18651868 case 'count' :
18661869 validateRead ( params , 'core' , ( ) => {
1870+ if ( ! params . qstring . query ) {
1871+ params . qstring . query = { } ;
1872+ }
18671873 if ( typeof params . qstring . query === "string" ) {
18681874 try {
18691875 params . qstring . query = JSON . parse ( params . qstring . query ) ;
@@ -1896,6 +1902,9 @@ const processRequest = (params) => {
18961902 break ;
18971903 case 'list' :
18981904 validateRead ( params , 'core' , ( ) => {
1905+ if ( ! params . qstring . query ) {
1906+ params . qstring . query = { } ;
1907+ }
18991908 if ( typeof params . qstring . query === "string" ) {
19001909 try {
19011910 params . qstring . query = JSON . parse ( params . qstring . query ) ;
You can’t perform that action at this time.
0 commit comments