uploads: disallow uploading new Flash files.
Flash is dead. It's no longer supported by browsers, it's not well-supported by emulators, and only two Flash posts were uploaded in the last year anyway. Old Flash files will continue to exist, but new Flash uploads will no longer be allowed.
This commit is contained in:
@@ -287,7 +287,7 @@ class UploadsControllerTest < ActionDispatch::IntegrationTest
|
||||
should_upload_successfully("test/files/test-animated-86x52.gif")
|
||||
should_upload_successfully("test/files/test-300x300.mp4")
|
||||
should_upload_successfully("test/files/test-512x512.webm")
|
||||
should_upload_successfully("test/files/compressed.swf")
|
||||
# should_upload_successfully("test/files/compressed.swf")
|
||||
end
|
||||
|
||||
context "uploading a file from a source" do
|
||||
|
||||
Reference in New Issue
Block a user