Page MenuHomeVyOS Platform

vyos.configtree config formatter outputs formerly escaped characters literally
Closed, ResolvedPublicBUG

Description

If node values contain escaped characters (such as \n), after parsing a config with vyos.configtree.ConfigTree and formatting it back to text, it outputs the characters, not escape codes. This is problematic for login banners for example, that commonly contain escaped newlines, but can also affect other parts of the config.

They should simply be escaped on output.

Details

Difficulty level
Easy (less than an hour)
Version
VyOS 1.2.0-rolling+201808040337
Why the issue appeared?
Will be filled on close