- Posts: 230
- Thank you received: 5
Kunena 6.2.6 released
The Kunena team has announce the arrival of Kunena 6.2.6 [K 6.2.6] which is now available for download as a native Joomla extension for J! 4.4.x/5.0.x. This version addresses most of the issues that were discovered in K 6.1 / K 6.2 and issues discovered during the last development stages of K 6.2
Question Why Kunena 4.x allows utf-8 characters in attachment filenames?
- baijianpeng
- Topic Author
- Offline
- Premium Member
I will test the latest backup package which contains an attachment with Chinese words in its filename.
www.joomlagate.com/
Chinese Joomla Users' Portal
Please Log in or Create an account to join the conversation.
- baijianpeng
- Topic Author
- Offline
- Premium Member
- Posts: 230
- Thank you received: 5
Then I made a full site backup with Akeeba 5.0.4 (the latest version). Next, I downloaded this backup package ( .jpa format) to my PC, and copy it to the web folder of my XAMPP testing server on local PC.
Then I use kickstart.php (v4.2.0 from Akeeba) to extract this backup package. The extraction process finished smoothly.
After restoration of the backup package, I noticed that the attachment can be downloaded properly on Kunena forum.
However, when I check the file list in that attachment folder via Windows File Explorer, I noticed that the filename of that attachment is showing NOT in Chinese words, but in some weird characters, unreadable symbols! They are NOT correct Chinese words, not the same as original filename on Kunena forum.
So, I think this is very bad. It could cause attachment links broken.
The best solution is to prevent non-ASCII characters in the filename of attachments.
If you prefer to see UTF-8 characters in filenames of attachment, I think we can make an option in Kunena configuration: Automatic change filename if contains non-ASCII characters: Yes / No.
Thank you.
www.joomlagate.com/
Chinese Joomla Users' Portal
Please Log in or Create an account to join the conversation.
- baijianpeng
- Topic Author
- Offline
- Premium Member
- Posts: 230
- Thank you received: 5
Thank you.
www.joomlagate.com/
Chinese Joomla Users' Portal
Please Log in or Create an account to join the conversation.
- baijianpeng
- Topic Author
- Offline
- Premium Member
- Posts: 230
- Thank you received: 5
When trying to extract the backup package made by Akeeba Backup on my Joomla website, the extracting process met error and stopped, because there is some attachments files in Kunena that use "Chinese words in their filename".
I had reported this issue again and again, why you Kunena develpers just IGNORE this problem? Don't you know that it is VERY annoying that those UTF8-character-filenames caused my backup package dead?
Could you please tell me How badly and how many times I should emphasize on this issue that will just draw your attention to fix this problem?
What I want is very simple: just an new option to "disallow any non-ASCII character in the attachment filename", you don't need to develop some code to automatically change the filename, just reject that file and tell the user to change filename manually if he wants to upload it.
This is just an OPTION, it will not affect those guys who really like to see non-ASCII characters in filenames.
I think this option will not HURT anybody, Ok?
Could you please just do something to solve it?
Thank you!!!!!
www.joomlagate.com/
Chinese Joomla Users' Portal
Please Log in or Create an account to join the conversation.
I don't have ignored the issue but i have completly forgot it, i will add this issue into github to don't forget it
P.S. : github.com/Kunena/Kunena-Forum/issues/4099
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
- baijianpeng
- Topic Author
- Offline
- Premium Member
- Posts: 230
- Thank you received: 5
www.joomlagate.com/
Chinese Joomla Users' Portal
Please Log in or Create an account to join the conversation.
www.akeebabackup.com/support/akeeba-back...es-don-t-backup.html
Please Log in or Create an account to join the conversation.
- baijianpeng
- Topic Author
- Offline
- Premium Member
- Posts: 230
- Thank you received: 5
Procedures to reproduce this issue:
1. On my live website (CentOS OS, PHP 5.6, Joomla 3.5.1, Kunena 4.0.11), make a full site backup with Akeeba Backup the latest version, to JPA format package.
2.Download this JPA format backup package to PC ( Windows 10 64bit ).
3. On localhost testing server (XAMPP 5.6), upload this JPA file, and Akeeba Kickstart tool.
4. Try to extract this JPA file with Kickstart tool.
5. If there are some attachments of Kunena which contains Chinese words in filenames, the extraction process will halt and return error. The error message will point to the exact filename, which shows Chinese words in it. So I know which file had killed the extraction process.
As I had mentioned, adding a new option to allow the site Admin himself to choose "whether or not allow non-ASCII characters in filenames" will NOT hurt anybody. It is safe to do so.
Thank you.
www.joomlagate.com/
Chinese Joomla Users' Portal
Please Log in or Create an account to join the conversation.
Because I want to have so much clean code as possible. And its 2016 so utf-8 should be fully working now.
Please Log in or Create an account to join the conversation.
- baijianpeng
- Topic Author
- Offline
- Premium Member
- Posts: 230
- Thank you received: 5
I don't know why that JPA file can be extracted, why this one can not. I don't want to waste my time or your time on this question. because I know: if I refuse filenames containing Chinese words, this problem will not happen.
www.joomlagate.com/
Chinese Joomla Users' Portal
Please Log in or Create an account to join the conversation.