×
Kunena 5.1.7 Released - Security Release (20 Nov 2018)

The Kunena team has announce the arrival of Kunena 5.1.7 [K 5.1.7] which is now available for download as a native Joomla extension for J! 3.9.x. This version addresses most of the issues that were discovered in K 5.1 and issues discovered during the development stages of K 5.1. This is a Security release.

× Topics must relate to a currently supported version of Kunena. If you are unsure what is the current supported version of Kunena, please go to the download page.

If you are having problems then, for your own benefit, it would save us all a lot of time if you would kindly post your configuration report when you ask for help from this forum. If you do not post your configuration report we will not ask you for it but you will probably not get your problem solved, either.

Question Attachments: PDFs vs. other file types

More
2 weeks 4 days ago #1 by wirecreative
We're in the early stages of setting up a forum, which isn't live yet. We're having trouble with attachments, and I think some of it has to do with the "Protect Attachments" settings.

We complicate this by also having uploads with unusual extensions (firmware updates and other files related to our software products). We have MIME types setup for these extensions in our htaccess file so that they will download rather than open as text, and their extensions have been added as the allowed uploads in the Kunena settings.

If "Protect Attachments" is set to "Yes" all of our PDFs attachment links appear like this:
https://[domain]/media/kunena/attachments/1686/[filename].pdf
But our other file types show up like this:
https://[domain]/forum/attachment/14

With this setting, all of our PDFs return 404 errors, but all of our other file types download correctly.

If "Protect Attachments" is set to "No" all of our PDFs attachment links appear like this:
https://[domain]/media/kunena/attachments/1686/952fb103ed2435dec826a7690c27f8a5
And our other file types also show up like this:
https://[domain]/media/kunena/attachments/67/69f9c5b2d4fa40b370d6112916609126

But, with this setting, all of our PDFs open correctly in the browser's PDF reader, but all of our other file types also try to open up in the browser as text, which is a big problem -- presumably because the extensions are no longer part of the URL?

Can anyone help us fix this?
I've updated to 5.1.7 earlier today and have tried new uploads in this new version, issues remain.
The following user(s) said Thank You: realstrannik

Please Log in or Create an account to join the conversation.

More
1 week 2 days ago - 1 week 2 days ago #2 by rich

If "Protect Attachments" is set to "No" all of our PDFs attachment links appear like this:
https://[domain]/media/kunena/attachments/1686/952fb103ed2435dec826a7690c27f8a5

You get the many characters at the end of the address, when the attachment/image has been uploaded with the setting Protect Attachments = Yes. If you changing afterwards this option, it has no effect on existing filenames.

But, with this setting, all of our PDFs open correctly in the browser's PDF reader, but all of our other file types also try to open up in the browser as text, which is a big problem -- presumably because the extensions are no longer part of the URL?

Have you disabled the lightbox? Some browsers (such as my Linux Firefox) can't directly to open the files with this url.

And the problem with the pdf I've confirmed ( see here ).
Last edit: 1 week 2 days ago by rich.

Please Log in or Create an account to join the conversation.

  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to add attachements.
  • Not Allowed: to edit your message.
Time to create page: 0.088 seconds