diff --git a/SECURITY.md b/SECURITY.md index d3ee590..9cafbdb 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -66,6 +66,12 @@ $curl->setOpt(CURLOPT_FOLLOWLOCATION, true); // DANGER! $curl->download('https://www.example.com/image.png', 'my_image.png'); ``` +```php +$curl = new Curl(); +$curl->setOpt(CURLOPT_FOLLOWLOCATION, true); // DANGER! +$curl->get('https://www.example.com/image.png'); +``` + ### Keep SSL protections enabled. * Do not disable SSL protections.