Module: Roda::RodaPlugins::DisallowFileUploads::RequestMethods

Defined in:
lib/roda/plugins/disallow_file_uploads.rb

Instance Method Summary collapse

Instance Method Details

#initialize(_, env) ⇒ Object

HTML escape the input and return the escaped version.



28
29
30
31
# File 'lib/roda/plugins/disallow_file_uploads.rb', line 28

def initialize(_, env)
  env['rack.multipart.tempfile_factory'] = NO_TEMPFILE
  super
end