Bug #14757
open
Special character encoding - crash on save / config restore
Added by Alex G about 2 years ago.
Updated almost 2 years ago.
Affected Architecture:
All
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
The caracter in the description is encoded like this
ü
has been mangeld in the report abouve.
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.


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.
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
Also available in: Atom
PDF