From 316d87e412e1c6bc9c7a590b866befbb6bab167f Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Sun, 31 Dec 2017 10:36:58 -0500 Subject: Append extension to tempfile name Fixes analyzing an SVG image without an XML declaration. ImageMagick occasionally looks to the extension when it can't discern the type of an image file from its contents. References #31356. --- activestorage/test/fixtures/files/icon.svg | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 activestorage/test/fixtures/files/icon.svg (limited to 'activestorage/test/fixtures') diff --git a/activestorage/test/fixtures/files/icon.svg b/activestorage/test/fixtures/files/icon.svg new file mode 100644 index 0000000000..6cfb0e241e --- /dev/null +++ b/activestorage/test/fixtures/files/icon.svg @@ -0,0 +1,13 @@ + + + + + + + + + + + + + -- cgit v1.2.3