- Posts: 3
- Thank you received: 0
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.
Important Major problems with Kunena 1.5 and the Tidy extension
- andrew.mcconnell
-
Topic Author
- Offline
- New Member
-
Original problem: HTML Tidy breaks com_kunena/lib/kunena.bbcode.js.php
Or, rather, com_kunena/lib/kunena.bbcode.js.php has a bug that causes undesired behavior when the output is filtered through HTML Tidy.
In the colorPalette() function that starts on line 82 there are several document.write() calls that write HTML end tags starting on line 102:
The close tags must all be escaped, like this:
Please Log in or Create an account to join the conversation.
- andrew.mcconnell
-
Topic Author
- Offline
- New Member
-
- Posts: 3
- Thank you received: 0
On closer examination this again due to a bug that browsers will tolerate but Tidy won't.
From com_kunena/template/default/post.php, line 789:
Just delete one character from line 789, like this:
Getting a little worried here. I suppose I can just go disable the Tidy extension but I'm more concerned about what other bugs are waiting to bite me.
Please Log in or Create an account to join the conversation.
Very interesting. It looks like you've stumbled upon a feature of modern web browsers that allow a lot of latitude for "poorly-written" Javascript. I agree that, in order to strictly adhere to SGML that Javascript strings involving a right-slanting solidus character (i.e. "/") should escape that character. But, really, I don't think most people get too fussed these days about compliance with SGML.andrew.mcconnell wrote: The close tags must all be escaped, like this:
I'm really, really surprised that nobody noticed this before. :huh:Code:document.writeln('<\/td>'); } if (dir == 'v') {document.writeln('<\/tr>');} } if (dir == 'h') {document.writeln('<\/tr>');} } document.writeln('<\/table>'); }
If I understand you correctly, you have a tool/plugin that generates "tidy" HTML. What purpose does this serve?
HTML Tidy is a developer's tool. It allows developers to check if their HTML is "clean". These things may be useful to know down-track. Thank you for your suggestions. I'll pass them along to the development team for comment.
Blue Eagle vs. Crypsis reference guide
Read my blog and
Please Log in or Create an account to join the conversation.
While we don't recommend running any sort of HTML Tidy module/plugin on a production server, these are valuable fixes that will improve how Kunena works overall.
Without the Tidy - none of our users will ever see those or will have issues with them.
For Kunena 1.6 we spent a lot more time on making sure our code is up to certain standards. For example when we switched to Zend Studio as the development environment we enabled code quality parsing for php, html, css and js and fixed over 2000+ issues that would have never been caught in earlier versions of Kunena. We still might have missed a few things here and there, but overall the quality of code in K1.6 is way better than any prior release of Kunena or even worse FireBoard & Co.
Any help and input you can provide on these issues as they pertain to Kunena 1.6 would be extremely helpful.
For Kunena 1.5 we do have a branch with fixes that these should get added to too.
We love stars on the Joomla Extension Directory .
Please Log in or Create an account to join the conversation.
- andrew.mcconnell
-
Topic Author
- Offline
- New Member
-
- Posts: 3
- Thank you received: 0
But beyond Tidy these bugs are still bugs that would break HTML validation of forum pages. I appreciate that efforts are focused on Kunena 1.6 right now, but just FYI, these issues would be lurking in a vanilla Kunena 1.5 install, not some weird hacked-up version.
Kunena 1.6 looks really great. The site I'm working on now launches next week so I can't upgrade just yet but I'm putting it on my list for the next round of features. Thanks for all your hard work!
Please Log in or Create an account to join the conversation.