gluster-web-interface/config/initializers/carrierwave.rb

2 lines
112 B
Ruby
Raw Normal View History

2016-08-22 09:41:25 +00:00
# Allow non-ascii letters in uploaded filenames
CarrierWave::SanitizedFile.sanitize_regexp = /[^[:word:]\.\-\+]/