lib/carrierwave/base64/base64_string_io.rb in carrierwave-base64-1.5 vs lib/carrierwave/base64/base64_string_io.rb in carrierwave-base64-1.6

- old
+ new

@@ -21,10 +21,10 @@ end private def get_file_format(description) - regex = /([a-z]+);base64\z/ + regex = /([a-z0-9]+);base64\z/ regex.match(description).try(:[], 1) end end end end