-
-
Notifications
You must be signed in to change notification settings - Fork 756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong Content-Disposition header when download epub (rfc1806) #1481
Comments
I guess you are talking about the v1 ? ➡️
|
Yes in v1 :1.9.1. You are right, I will provide a PR today. |
@alkahan awesome ! Don't forget to target the dev branch instead of the master. |
The PR can also be submitted to the PHPePub project. |
@tcitworld I have made a PR for PHPePub 3.30 branch. Current master and 4.0.0 rely on PHPZip and provide the right header value. |
Nice. wallabag v2 relies on PHPePub 4.0 so it will be fine. |
Can we close this issue? |
We don't use |
When download an epub file, the content-disposition header value is wrong:
Result:
Content-Disposition: attached; filename="title.epub"
Should be:
Content-Disposition: attachment; filename="title.epub"
see: http://www.ietf.org/rfc/rfc1806.txt
Impact:
The filename is not set properly on some devices like my Sony Reader, and use default filename "filename.bin". The device cannot open the file with that name.
The text was updated successfully, but these errors were encountered: