Skip to content
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

Protect Attachments breaks PDFs in messages #6171

Closed
rich20 opened this issue Nov 29, 2018 · 1 comment
Closed

Protect Attachments breaks PDFs in messages #6171

rich20 opened this issue Nov 29, 2018 · 1 comment

Comments

@rich20
Copy link
Member

@rich20 rich20 commented Nov 29, 2018

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

  1. Set Protect Attachments to Yes
  2. Upload and insert a pdf in a message

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

  1. Set Protect Attachments to No
  2. Go in the frontend again to this topic and check the pdf

Actual result
The pdf is broken

Screenshots
bildschirmfoto von 2018-11-29 17-50-06

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?

@rich20 rich20 added this to the 5.1.8 milestone Nov 29, 2018
@xillibit xillibit removed this from the 5.1.8 milestone Feb 17, 2019
@xillibit xillibit added this to the 5.1.10 milestone Feb 17, 2019
@810 810 removed this from the 5.1.10 milestone Mar 3, 2019
@810 810 added this to the 5.1.11 milestone Mar 3, 2019
@810 810 removed this from the 5.1.11 milestone Apr 20, 2019
@810 810 added this to the 5.1.12 milestone Apr 20, 2019
@810 810 removed this from the 5.1.12 milestone Apr 29, 2019
@810 810 added this to the 5.1.13 milestone Apr 29, 2019
@github-actions
Copy link

@github-actions github-actions bot commented Oct 14, 2019

This issue is stale because it has been open 30 days with no activity.

@810 810 reopened this Oct 22, 2019
@810 810 closed this as completed Feb 14, 2020
810 added a commit that referenced this issue Feb 18, 2020
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants