mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Hardened image file validation by removing custom validation
- Added test to check PHP files cannot be uploaded as an image.
This commit is contained in:
@ -69,7 +69,6 @@ return [
|
||||
'timezone' => 'The :attribute must be a valid zone.',
|
||||
'unique' => 'The :attribute has already been taken.',
|
||||
'url' => 'The :attribute format is invalid.',
|
||||
'is_image' => 'The :attribute must be a valid image.',
|
||||
|
||||
// Custom validation lines
|
||||
'custom' => [
|
||||
|
Reference in New Issue
Block a user