- Posts: 2
- Thank you received: 1
Kunena 7.1.1 & Kunena 6.4.17 – Security Updates Released
The Kunena team has announce the arrival of Kunena 7.1.1 [K 7.1.1] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x./6.1.x./6.2.x This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 / K7.0 and issues discovered during the last development stages of K 7.1
Just a reminder: K6.4.17 receives only securities fixes until end of 2026, so it's advised for users to upgrade to K7.1.
The topics in this category are for historical interest only. Owing to the structural changes that occurred in K 2.0, many of the ideas in these topics will not work with later versions and, for that reason, the topics are locked.
Idea Kunena 2.0.4, Joomla 2.5.10, .htaccess and preview button
- Lightning88
-
Topic Author
- Offline
- New Member
-
Excuse-me for my english, i'm french. I post here, because i had a problem with preview button, when you click on this button, nothing appears.
This problem come on my data of htaccess 's files.
With this htaccess:
You can see that i redirected www.e-infinity.fr/index.php to www.e-infinity.fr/ . This is for delete the duplicate content.
With Kunena, this is a problem. Because, when you click on preview button, the url ajax has this form:
www.e-infinity.fr/forum/reglement-du-for...yout=edit&format=raw
And return a 301 status code.
To work around this problem, this is a hack code:
In file : "/components/com_kunena/lib/kunena.bbcode.js.php" change line 27:
to:
And now, the url ajax has this form : www.e-infinity.fr/?option=com_kunena&vie...yout=edit&format=raw
I have changed index.php? to /?
And the preview button works perfectly without changed the htaccess file.
In the hope that it will help many people.
Geoffrey
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Lightning88
-
Topic Author
- Offline
- New Member
-
- Posts: 2
- Thank you received: 1
Matias wrote: Good hint, but unfortunately we cannot take that into the official version as it breaks more sites than it fixes.
Thanks for your response, Matias.
This is a another solution:
In file : "/components/com_kunena/lib/kunena.bbcode.js.php" change line 27:
to
The method JURI::ROOT() return the root of URL. Here : www.e-infinity.fr/ and concat the rest of url. Because the url without this change has a this form:
www.e-infinity.fr/forum/reglement-du-for...yout=edit&format=raw
and not:
www.e-infinity.fr/index.php?option=com_k...yout=edit&format=raw
And i have changed the htaccess file:
to
Just one condition which test if request method is POST is has adding:
Please Log in or Create an account to join the conversation.
In Kunena 3.0 we have gone even further: we are starting to enforce SEF URLs more and more and prevent all the requests coming to direct component URLs that are usually used by spam bots. We're not quite yet in there and the feature has been disabled by default, but there are many reasons not to expose those URLs to the attackers.
One of the best reasons is that if the component (or some part of it) has been "disabled" by administrator, I wouldn't want to give attackers a way to access the feature. For example if you disable login from your site, everyone can still access a known location of the login page.
The question is: why don't you want to use SEF on POST? People do not care about the URLs, so the only party who has a benefit are the attackers, who like to use known URLs for their attacks.
Please Log in or Create an account to join the conversation.