It is now a requirement for attachments to do one of three things: 1. Have a content_type validation (e.g. "image/*") 2. Have a filename validation (e.g. *.png, *.gif) 3. Explicitly *not* have one of those validations The intent is to make the default more secure, and you have to explicitly reject the security of a validation in order to not have one.
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
abstract_adapter_test.rb | Loading commit data... | |
attachment_adapter_test.rb | Loading commit data... | |
data_uri_adapter_test.rb | Loading commit data... | |
empty_string_adapter_test.rb | Loading commit data... | |
file_adapter_test.rb | Loading commit data... | |
http_url_proxy_adapter_test.rb | Loading commit data... | |
identity_adapter_test.rb | Loading commit data... | |
nil_adapter_test.rb | Loading commit data... | |
registry_test.rb | Loading commit data... | |
stringio_adapter_test.rb | Loading commit data... | |
uploaded_file_adapter_test.rb | Loading commit data... | |
uri_adapter_test.rb | Loading commit data... |