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 |
|---|---|---|
| .. | ||
| fixtures | Loading commit data... | |
| io_adapters | Loading commit data... | |
| matchers | Loading commit data... | |
| storage | Loading commit data... | |
| support | Loading commit data... | |
| validators | Loading commit data... | |
| attachment_definitions_test.rb | Loading commit data... | |
| attachment_processing_test.rb | Loading commit data... | |
| attachment_registry_test.rb | Loading commit data... | |
| attachment_test.rb | Loading commit data... | |
| content_type_detector_test.rb | Loading commit data... | |
| database.yml | Loading commit data... | |
| file_command_content_type_detector_test.rb | Loading commit data... | |
| filename_cleaner_test.rb | Loading commit data... | |
| generator_test.rb | Loading commit data... | |
| geometry_detector_test.rb | Loading commit data... | |
| geometry_parser_test.rb | Loading commit data... | |
| geometry_test.rb | Loading commit data... | |
| has_attached_file_test.rb | Loading commit data... | |
| helper.rb | Loading commit data... | |
| integration_test.rb | Loading commit data... | |
| interpolations_test.rb | Loading commit data... | |
| media_type_spoof_detector_test.rb | Loading commit data... | |
| meta_class_test.rb | Loading commit data... | |
| paperclip_missing_attachment_styles_test.rb | Loading commit data... | |
| paperclip_test.rb | Loading commit data... | |
| plural_cache_test.rb | Loading commit data... | |
| processor_test.rb | Loading commit data... | |
| rake_test.rb | Loading commit data... | |
| schema_test.rb | Loading commit data... | |
| style_test.rb | Loading commit data... | |
| tempfile_factory_test.rb | Loading commit data... | |
| thumbnail_test.rb | Loading commit data... | |
| url_generator_test.rb | Loading commit data... | |
| validators_test.rb | Loading commit data... |