mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-01-30 19:52:20 +01:00
improvement: makes rmagick, minimagick and mime types less explicit to improve security
This commit is contained in:
parent
eb83dbf798
commit
879a7ba33f
@ -19,9 +19,9 @@ en:
|
||||
extension_whitelist_error: "You are not allowed to upload %{extension} files, allowed types: %{allowed_types}"
|
||||
extension_blacklist_error: "You are not allowed to upload %{extension} files, prohibited types: %{prohibited_types}"
|
||||
content_type_whitelist_error: "You are not allowed to upload %{content_type} files, allowed types: %{allowed_types}"
|
||||
rmagick_processing_error: "Failed to manipulate with rmagick, maybe it is not an image? Original Error: %{e}"
|
||||
mime_types_processing_error: "Failed to process file with MIME::Types, maybe not valid content-type? Original Error: %{e}"
|
||||
mini_magick_processing_error: "Failed to manipulate with MiniMagick, maybe it is not an image? Original Error: %{e}"
|
||||
rmagick_processing_error: "Failed to manipulate with rmagick, maybe it is not an image?"
|
||||
mime_types_processing_error: "Failed to process file with MIME::Types, maybe not valid content-type?"
|
||||
mini_magick_processing_error: "Failed to manipulate the file, maybe it is not an image?"
|
||||
wrong_size: "is the wrong size (should be %{file_size})"
|
||||
size_too_small: "is too small (should be at least %{file_size})"
|
||||
size_too_big: "is too big (should be at most %{file_size})"
|
||||
|
Loading…
x
Reference in New Issue
Block a user