PluginProbe
Media Cloud Sync / 1.4.1
Media Cloud Sync v1.4.1
1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 All 35 releases
← All changes | includes/sdk/s3/Aws/ClientSideMonitoring/ConfigurationProvider.php +1 -1 1.0.11.4.1 View file →
@@ -145,9 +145,9 @@
145 145 if (empty($data[$profile]['csm_host'])) {
146 146 $data[$profile]['csm_host'] = self::DEFAULT_HOST;
147 147 }
148 148 // port is optional
149 - if (empty($data[$profile]['csm_port'])) {
149 + if (!\filter_var($data[$profile]['csm_port'] ?? null, \FILTER_VALIDATE_INT)) {
150 150 $data[$profile]['csm_port'] = self::DEFAULT_PORT;
151 151 }
152 152 // client_id is optional
153 153 if (empty($data[$profile]['csm_client_id'])) {