Page MenuHomeVyOS Platform

Add unicode support to configtree backend
Closed, ResolvedPublic


The root cause of the error in T2941 is lack of support for unicode in the configtree backend: a direct translation of the utf-8 encoding from Python strings is overwritten by the String.escaped function in the output.


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Improvement (missing useful functionality)

Event Timeline

jestabro raised the priority of this task from Low to Normal.Sep 23 2021, 2:54 PM

relaxes the condition to escape non-ascii bytes. Updating the commit id in the Dockerfile and relaxing the ascii restriction in will allow unicode chars in config.

jestabro changed the task status from Open to Backport candidate.Jan 6 2022, 1:55 PM
jestabro updated the task description. (Show Details)
jestabro added a project: VyOS 1.3 Equuleus.
jestabro moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.

Backported to equuleus branch of vyos1x-config:

Pin will be updated in docker image after other pending backports, at which point
config: T3785: drop restriction to ascii in decode (above)
will be cherry-picked to equuleus.