-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
Theme: Favorites file (favorites.json) might have to get garbage data #623
Comments
Hi, Thanks for reporting. I will reproduce it and try to fix it a bit later. |
Hi, I can't reproduce it. Are you sure that you have UTF-8 type of language set in both |
Yes, i have UTF-8 in both options. |
Could you update to the latest Webmin 1.830? |
I have it already, problem still exists. On Ubuntu and Debian. Try something witch character |
I still can't reproduce it. The reason why it fails is because you have |
Problem still exists, please have a look: |
Hi, Mateusz. I have watched closely your video. I will do my best to reproduce it and fix it upon next release. I have downloaded your video. You can delete it from YouTube. |
I could reproduce it. Working on the fix. |
Have a try with the fix 945c625 |
Nope, problem still exists... ` Error - Perl execution failedWide character in syswrite at /usr/share/webmin/miniserv.pl line 3087. ` |
I can say that I copy/paste your JSON string. It works just fine. It loads without any problem. What is your OS and the setup? Can you still reproduce this issue? |
Try mine, does it fail with your setup? Here is how my {"favorites":[
{
"link": "/fail2ban/",
"title": "Nie-używane moduły/Fail2Ban - detektor intruzów: Fail2Ban - detektor intruzów",
"icon": "webmin"
},
{
"link": "/package-updates/",
"title": "System/Aktualizacja pakietów oprogramowania: Aktualizacja pakietów oprogramowania",
"icon": "webmin"
},
{
"link": "/lpadmin/",
"title": "Sprzęt/Zarządzanie drukarkami: Zarządzanie drukarkami",
"icon": "webmin"
}
]} |
No, really. It just works. |
System/Webmin language: PL-UTF8
When something from Webmin menu is added to favorites, and it contains national character like "ś", "ó" etc, it causes Webmin crash, displaying blank page:
For example: Dislay system log ("Wyświetl log"):
Content of favorites.json:
{"favorites":[ { "link": "/syslog/save_log.cgi?oidx=0&omod=fail2ban&view=1", "title": "System/Logi systemowe: Wyświetl log", "icon": "webmin" } ]}&_=1483006733460
The text was updated successfully, but these errors were encountered: