Fix file upload chinese filename

This commit is contained in:
manson committed 2014-06-19 17:10:12 +08:00
1 parent b571436f47
commit e3b6250c09
1 file changed
+1
+1
View File
@@ -0,0 +1 @@
CarrierWave::SanitizedFile.sanitize_regexp = /[^[:word:]\.\-\+]/