Expected behavior
The pdf should be available in the message (depending on the browser either visible or downloadable)
Actual result
Some browsers show only a empty field
Firefox shows "This browser does not support PDFs. Please download the PDF to view it: Download PDF"
But if you click on Download PDF you get a error 404 Category not found
Next step of reproduce
Set Protect Attachments to No
Go in the frontend again to this topic and check the pdf
Actual result
The pdf is broken
Screenshots
System information (please complete the following information)
Commits on Feb 14, 2020
Protect Attachments breaks PDFs in messages #6171@810
810 committed 4 days ago
fix php 7.4 nbbc
@810
810 committed 4 days ago
Let users edit the subject has different effects depending on the use… …
@810
810 committed 4 days ago
fix jssocial
@810
810 committed 4 days ago
SEO: Subcategory is noindex, nofollow when use global #6465@810
810 committed 4 days ago
Categories disappears in the backend when is set Read Only Mode #6533@810
810 committed 4 days ago
Error on social share icon Linkedin #6593@810
810 committed 4 days ago
SEO: Duplicate title on additional pages #6594@810
810 committed 4 days ago
Commits on Feb 12, 2020
JSON-LD error on BreadcrumbList when email in subject #6734@810
810 committed 6 days ago
Commits on Feb 11, 2020
Can't save profile when Signatures = No #6748 (part2)
@810
810 committed 7 days ago
Can't save profile when Signatures = No #6748@810
810 committed 7 days ago
Undefined variable: category index page
Describe the bug
https://www.kunena.org/forum/k5-1-support-archive/154555-pdf-handling-seems-broken-in-5-1-5?start=20
(I confirm this bug)
Protect Attachments breaks PDFs in messages
To Reproduce
Expected behavior
The pdf should be available in the message (depending on the browser either visible or downloadable)
Actual result
Some browsers show only a empty field
Firefox shows "This browser does not support PDFs. Please download the PDF to view it: Download PDF"
But if you click on Download PDF you get a error 404 Category not found
Next step of reproduce
Actual result
The pdf is broken
Screenshots

System information (please complete the following information)
Joomla version: 3.9.1
Kunena version: 5.1.7 and 5.1.8-dev
Php version: 7.2.11
Database version: 5.5.8
Linux Browsers
Firefox
Chromium
Opera
Additional context
If you allow pdf, it's not possible to use protect attachments. Maybe we should exclude pdfs from protect attachments?
The text was updated successfully, but these errors were encountered: