dwilkie / carrierwave_direct

Process your uploads in the background by uploading directly to S3
MIT License
839 stars 181 forks source link

File whitelist case sensitive? #197

Closed mxmzb closed 8 years ago

mxmzb commented 8 years ago

I may be mistaken, but could it be that this https://github.com/dwilkie/carrierwave_direct/blob/50a7183e3d0cdd61623adc7e168cda930a27725f/lib/carrierwave_direct/validations/active_model.rb#L29 will neither work case insensitively nor will accept regexes in the whitelist that would have allowed such case insensitive values?

I am mistaken, sorry.