Exception: Paperclip::Nginx::Upload::TmpPathNotInWhitelistError
- Inherits:
-
StandardError
- Object
- StandardError
- Paperclip::Nginx::Upload::TmpPathNotInWhitelistError
- Defined in:
- lib/paperclip/nginx/upload/io_adapter.rb
Instance Method Summary collapse
-
#initialize(tmp_path, whitelist) ⇒ TmpPathNotInWhitelistError
constructor
A new instance of TmpPathNotInWhitelistError.
Constructor Details
#initialize(tmp_path, whitelist) ⇒ TmpPathNotInWhitelistError
Returns a new instance of TmpPathNotInWhitelistError.
8 9 10 11 |
# File 'lib/paperclip/nginx/upload/io_adapter.rb', line 8 def initialize(tmp_path, whitelist) super("Paperclip nginx upload adapter received non whitelisted tmp file '#{tmp_path}'. " + "Whitelist: #{whitelist.inspect}") end |