markevans / dragonfly

A Ruby gem for on-the-fly processing - suitable for image uploading in Rails, Sinatra and much more!
http://markevans.github.io/dragonfly
MIT License
2.12k stars 244 forks source link

Data URI doesn't work with file greater them few bytes #478

Closed dlibanori closed 6 years ago

dlibanori commented 7 years ago

Data URI doesn't work if you get a file that its encoded version is greater them 60 bytes. I suppose it is about de subtle difference between encode64 and strict_encode64.

markevans commented 6 years ago

see https://github.com/markevans/dragonfly/pull/479