module Roda::RodaPlugins::DisallowFileUploads::RequestMethods

  1. lib/roda/plugins/disallow_file_uploads.rb

Methods

Public Class

  1. new

Public Class methods

new(_, env)

HTML escape the input and return the escaped version.

[show source]
   # File lib/roda/plugins/disallow_file_uploads.rb
28 def initialize(_, env)
29   env['rack.multipart.tempfile_factory'] = NO_TEMPFILE
30   super
31 end