hapic icon indicating copy to clipboard operation
hapic copied to clipboard

Bug: Properly handle double-quote characters (`"`) in `HapicFile` `Content-Disposition` header

Open grignards opened this issue 3 years ago • 0 comments

A filename including a double-quote " will generate a Content-Disposition header which is considered malformed by Chrome, see https://github.com/tracim/tracim/issues/5220 for details.

Hapic should either mitigate the issue (by replacing double-quote characters in the filename parameter) or raise an exception in this case.

grignards avatar Dec 30 '21 10:12 grignards