m3 Security Fixes

This commit is contained in:
Mark Gregory
2026-09-16 17:38:23 +01:00
parent 3407626e92
commit 746fcaa8b1
6 changed files with 25 additions and 263 deletions
@@ -108,7 +108,7 @@ class TwoShipAPIs extends Controller
curl_setopt($ch, CURLOPT_URL, $ShipOnHoldOrder_url);
curl_setopt($ch, CURLOPT_VERBOSE, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);
// When CURLOPT_SSL_VERIFYPEER is enabled (value=1), and the verification fails to prove that the certificate is authentic, the connection fails.
// When the option is zero, the peer certificate verification succeeds regardless.