Comment 10 for bug 1578512

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/6459
Committed: https://git.mahara.org/mahara/mahara/commit/b3b57485042ca5f0776244007b2d9c82d3cee764
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.10_STABLE

commit b3b57485042ca5f0776244007b2d9c82d3cee764
Author: Aaron Wells <email address hidden>
Date: Thu May 5 18:47:52 2016 +1200

Escape double-quotes in filname, in Content-Disposition header

Bug 1578512: As specified in RFC 6266, the filename is a
"quoted-string", and as specified in RFC 2616 double quotes
within a quoted-string should be escaped with a backslash.

Change-Id: Id9d069a976406a82a6f0b6db92c696f700e00469
behatnotneeded: Can't test file uploads in behat yet
(cherry picked from commit aa8c67601ec68f2b831335b394ba6731d4cf4d55)