aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/command/helpers/editor.rb
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2017-12-31 10:36:58 -0500
committerGeorge Claghorn <george@basecamp.com>2017-12-31 10:36:58 -0500
commit316d87e412e1c6bc9c7a590b866befbb6bab167f (patch)
tree81bfdb8d0a2437d0ea94894a31ec743f64189522 /railties/lib/rails/command/helpers/editor.rb
parent5428c8e3a2d0f80240ac2e3e4b214b775ee2f346 (diff)
downloadrails-316d87e412e1c6bc9c7a590b866befbb6bab167f.tar.gz
rails-316d87e412e1c6bc9c7a590b866befbb6bab167f.tar.bz2
rails-316d87e412e1c6bc9c7a590b866befbb6bab167f.zip
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.
Diffstat (limited to 'railties/lib/rails/command/helpers/editor.rb')
0 files changed, 0 insertions, 0 deletions