Skip to content

Conversation

eusonlito
Copy link
Contributor

@taylorotwell taylorotwell marked this pull request as draft November 22, 2023 16:53
@taylorotwell taylorotwell marked this pull request as ready for review November 28, 2023 15:03
@taylorotwell taylorotwell merged commit e103922 into laravel:10.x Nov 28, 2023

> **Warning**
> For security reasons, you should never only validate a file type by its extension. Since `extensions` does not validate that the file type matches its extension, this rule should always be used in combination with the [MIME Types](#rule-mimetypes) or [MIME Type By File Extension](#rule-mimes) validations.
> You should never rely on validating a file by its user-assigned extension alone. This rule should typically always be used in combinatino with the [`mimes`](#rule-mimes) or [`mimetypes`](#rule-mimetypes) rules.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo in combinatino

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants