gluster-web-interface/config/initializers/carrierwave.rb
2016-08-22 09:41:25 +00:00

2 lines
112 B
Ruby

# Allow non-ascii letters in uploaded filenames
CarrierWave::SanitizedFile.sanitize_regexp = /[^[:word:]\.\-\+]/