carrierwaveuploader / carrierwave

Classier solution for file uploads for Rails, Sinatra and other Ruby web frameworks
https://github.com/carrierwaveuploader/carrierwave
8.78k stars 1.66k forks source link

skip_ssrf_protection configuration doesn't work other than master branch #2745

Closed takmar closed 2 months ago

takmar commented 5 months ago

In the README, it states: "you can disable SSRF protection at your own risk using the skip_ssrf_protection configuration." However, the skip_ssrf_protection configuration only works in the master branch because the PR that implemented the skip_ssrf_protection option has not been backported.

As a result, if I add config.skip_ssrf_protection = true in an initializer, it causes the following error:

NoMethodError:
  undefined method `skip_ssrf_protection=' for CarrierWave::Uploader::Base:Class
mshibuya commented 2 months ago

It's included in the release 3.1.0.beta.