mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-22 14:49:59 +08:00
Added extension whitelist for image uploads
- A continuation of the security issues addressed in v0.25.3
This commit is contained in:
@ -33,6 +33,7 @@ return [
|
||||
'filled' => 'The :attribute field is required.',
|
||||
'exists' => 'The selected :attribute is invalid.',
|
||||
'image' => 'The :attribute must be an image.',
|
||||
'image_extension' => 'The :attribute must have a valid & supported image extension.',
|
||||
'in' => 'The selected :attribute is invalid.',
|
||||
'integer' => 'The :attribute must be an integer.',
|
||||
'ip' => 'The :attribute must be a valid IP address.',
|
||||
|
Reference in New Issue
Block a user