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)
Reviewed: https:/ /reviews. mahara. org/6458 /git.mahara. org/mahara/ mahara/ commit/ d84ee5d63b65bc1 a62ec0a4ab4ac5c 34626b0e57
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: 16.04_STABLE
commit d84ee5d63b65bc1 a62ec0a4ab4ac5c 34626b0e57
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: Id9d069a976406a 82a6f0b6db92c69 6f700e00469 b831335b394ba67 31d4cf4d55)
behatnotneeded: Can't test file uploads in behat yet
(cherry picked from commit aa8c67601ec68f2