Bug #14757
openSpecial character encoding - crash on save / config restore
0%
Description
I have posted this in the forum and could verify / reproduce the problem.
I upgraded from version 2.6.0 to 2.7.0 and when there are some changes made the system restores an old config.
The problem is located at the description field of user and groups. If there is a "ü& in the the description it crashes on save. Details with screenshots in the forum post link below.
[[https://forum.netgate.com/topic/182658/not-wanted-autmatic-config-restore?_=1694018191854]]
Files
Updated by Alex G over 1 year ago
The caracter in the description is encoded like this
ü
has been mangeld in the report abouve.
Updated by Danilo Zrenjanin over 1 year ago
- File clipboard-202309071244-tl6sl.png clipboard-202309071244-tl6sl.png added
- File clipboard-202309071244-11kg6.png clipboard-202309071244-11kg6.png added
I couldn't reproduce that issue if I entered the same description for a group directly in the 23.05.1 release.
It seems like that appears only if the comment was there before the upgrade.
Updated by Alex G over 1 year ago
Hi,
the comment was in there bevore we updates to the new Version 2.7.0 not the 23.05.1.
Also the issue ocurred when the stuff WAS in the config and you tried to edit it. So Changeing the ü ΓΌ to a ue in the gui resulted 3 times in a config restore right away without a reboot.
Danilo Zrenjanin wrote in #note-2:
I couldn't reproduce that issue if I entered the same description for a group directly in the 23.05.1 release.
Updated by Lev Prokofev 12 months ago
Not able to replicate this,
I set the group name with "ü" on 2.6
<group>
<name>123</name>
<description><![CDATA[ü ü in ein]]></description>
<scope>local</scope>
<gid>2000</gid>
</group>
updated to 2.7 and don't see any errors