Closed raykolbe closed 7 years ago
Note: This change does in fact break BC. Existing behavior in 0.4.0 treats a "null" file name as a regular PDF resource. That is, Content-Disposition header with attachment disposition type is not presented in the response.
In 0.4.0, by setting a file name we assume, and we trigger, the Content-Disposition response header w/attachment disposition type.
A new change is on the way to handle these cases in a more robust fashion.
Change Profile
Description
Set default file name to "untitled.pdf".
Reason
Having a "null" file name is strange and will cause unexpected side effects when not provided to the PdfModel view model.
[edit] changed "BC breaks no" to "BC breaks yes".