Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Inventory-1.0.6, webconsole-4.6.0
-
None
Description
JSONConfigurationWriter.write method currently escapes/handles only three input characters: dblquote, \n and \r.
As a result, it produces invalid JSON strings, for example when Windows path is present in /system/console/status-slingsettings/, which caused JSON parsers to fail.
It should escape the backslash and other characters according to [1].
[1] https://greenbytes.de/tech/webdav/rfc8259.html#rfc.section.7