Exception: Paperclip::Nginx::Upload::TmpPathNotInWhitelistError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/paperclip/nginx/upload/io_adapter.rb

Instance Method Summary collapse

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