You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 10, 2022. It is now read-only.
Non english or accented characters in file names are replaced with underscore; for example; ça-über.xls is not allowed. This maybe a feature but maybe an option can be useful to switch to allowing international letter.. Kind regards
Non english or accented characters in file names are replaced with underscore; for example; ça-über.xls is not allowed. This maybe a feature but maybe an option can be useful to switch to allowing international letter.. Kind regards
https://github.com/krobertson/dm-paperclip/blob/master/lib/dm-paperclip/attachment.rb
LINE 108:
instance_write(:file_name, uploaded_file['filename'].strip.gsub(/[^\w\d.-]+/, '_'))
This one works fine LINE 108
instance_write(:file_name, uploaded_file['filename'].strip.gsub(/[^\p{Word}\d.-]+/, '_'))
The text was updated successfully, but these errors were encountered: