We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4739957 + aecc487 commit 6db9eb3Copy full SHA for 6db9eb3
app/controllers/api/nextv1/contribution_page_controller.rb
@@ -125,7 +125,7 @@ def image_properties(data)
125
io: File.open(original_image_path),
126
filename: new_filename + extension + ".padded",
127
# remove period from beginning of extension type
128
- content_type: "image/#{extension}"
+ content_type: "image/#{extension.tr(".", "")}"
129
}
130
end
131
0 commit comments