]> cat aescling's git repositories - mastodon.git/commit
Fix remote convertible media attachments not being saved (#13032)
authorEugen Rochko <eugen@zeonfederated.com>
Mon, 3 Feb 2020 17:45:56 +0000 (18:45 +0100)
committerGitHub <noreply@github.com>
Mon, 3 Feb 2020 17:45:56 +0000 (18:45 +0100)
commitff07e80533814b8a5a44d9cf376e3ee7ba6b3318
tree74d409fdd342fe9178d492b944c20dfe37933ab4
parentc253f5c57e3ad1929c70fb8adb00cb1bc4a2ef5f
Fix remote convertible media attachments not being saved (#13032)

Because the file name was set after loading the file, Paperclip
was flagging the differing file extension as content type spoofing

Fix #12938
app/models/concerns/remotable.rb