Skip to content

Commit d8dad06

Browse files
ildyriaCopilot
andauthored
Update docs/releases.md
Co-authored-by: Copilot <[email protected]>
1 parent 47d33f5 commit d8dad06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/releases.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ When both the encrypted links and the temporary links are disabled, it is possib
5959

6060
We applied defense in depth:
6161

62-
1. when neither functionality are enabled, we direclty return a 401/403 error on any call to `/image/{path}`.
62+
1. when neither functionality are enabled, we directly return a 401/403 error on any call to `/image/{path}`.
6363
2. when either of the functionality are enabled, we check that the `$path` value generated by `Storage::disk(StorageDiskType::LOCAL->value)->path($path);` is within the intended image directory. Should this happen, we return a 418 error code (I'm a teapot) which can later be used to detect malicious calls and combined with fail-2-ban to block the IP address of the attacker.
6464

6565
#### Credits

0 commit comments

Comments
 (0)