• David Fernandez's avatar
    Implement more guards during a multipart upload · f0bc03c4
    David Fernandez authored
    * guard 1: Validate workhorse rewritten_fields before using them
    * guard 2: In UploadedFile, if a remote_id is given, it takes priority
               over a file path.
    * guard 3: When possible use the values passed through the JWT header
               instead of reading the body params.
    f0bc03c4
uploaded_file_spec.rb 8.96 KB