lib/locomotive/carrierwave.rb in locomotive_cms-2.3.0 vs lib/locomotive/carrierwave.rb in locomotive_cms-2.3.1

- old
+ new

@@ -5,6 +5,9 @@ require 'locomotive/carrierwave/patches' # register missing mime types EXTENSIONS[:eot] = 'application/vnd.ms-fontobject' EXTENSIONS[:woff] = 'application/x-woff' -EXTENSIONS[:otf] = 'application/octet-stream' +EXTENSIONS[:otf] = 'application/octet-stream' + +# Allow retina images +CarrierWave::SanitizedFile.sanitize_regexp = /[^a-zA-Z0-9\.\-\+_\@]/ \ No newline at end of file