Skip to content

Commit 1d7af44

Browse files
committed
Clean up
1 parent efe1bcc commit 1d7af44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SECURITY.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if (!is_website_url($url)) {
4040

4141
### Request data may refer to system files
4242

43-
* Request data prefixed with the @ character may have special interpretation and read from system files.
43+
* Request data prefixed with the `@` character may have special interpretation and read from system files.
4444

4545
```bash
4646
# Attacker.
@@ -63,7 +63,7 @@ $curl->post('http://www.anotherwebsite.com/', array(
6363
```php
6464
$curl = new Curl();
6565
$curl->setOpt(CURLOPT_FOLLOWLOCATION, true); // DANGER!
66-
$curl->download('http://www.example.com/image.png', 'my_image.png');
66+
$curl->download('https://www.example.com/image.png', 'my_image.png');
6767
```
6868

6969
### Keep SSL protections enabled.

0 commit comments

Comments
 (0)