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/6460 /git.mahara. org/mahara/ mahara/ commit/ f62f9619c19d567 9244d350e69d335 1d661b5199
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.04_STABLE
commit f62f9619c19d567 9244d350e69d335 1d661b5199
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