86eeed2acf
Unescaped filenames were causing issues in multipart form uploads. Filenames that had unmatched quotes were corrupting the payload and causing direct uploads to inst-fs to fail (anything uploaded from the app server directly). This was not an issue for files uploaded from browsers. Escape the names before injecting them into the multipart payload. Test plan: specs refs SAS-1400 Change-Id: Ib842652ed7cf0bd3cab88c81e69586620eced679 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/225242 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Jacob Fugal <jacob@instructure.com> QA-Review: Jonathan Featherstone <jfeatherstone@instructure.com> Product-Review: Jonathan Featherstone <jfeatherstone@instructure.com> |
||
---|---|---|
.. | ||
lib | ||
spec | ||
.rspec | ||
Gemfile | ||
Rakefile | ||
multipart.gemspec | ||
test.sh |