diff options
| author | Indrajit Raychaudhuri <irc@indrajit.com> | 2026-05-13 10:52:28 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-13 18:52:28 +0300 |
| commit | 2f2bae3232862d07368e4508fa8f335f6f8819d4 (patch) | |
| tree | e84417332d4c5f4edcb98939e72a3d29cc456f0e /src/migration-scripts | |
| parent | 69b6be91d0eacfd23feb13f96325923f6e26ed25 (diff) | |
| download | vyos-1x-2f2bae3232862d07368e4508fa8f335f6f8819d4.tar.gz vyos-1x-2f2bae3232862d07368e4508fa8f335f6f8819d4.zip | |
dhcp: T8848: Fix timezone pcode data (#5189)
According to Kea documentation:
When a data field is a string and that string contains
the comma (`,`; U+002C) character, the comma must be escaped
with two backslashes (`\\,`; U+005C) because both the routine
splitting of CSV data into fields and JSON use the same
escape character. A single escape (`\,`) would make the JSON
invalid.
Accordingly, the pcode generated for time-zone should have
the `,` double escaped. For example, `"GMT0BST,M3.5.0/1,M10.5.0"`
should be rendered as `"GMT0BST\\,M3.5.0/1\\,M10.5.0"`.
See: https://kea.readthedocs.io/en/stable/arm/dhcp4-srv.html#standard-dhcpv4-options
Diffstat (limited to 'src/migration-scripts')
0 files changed, 0 insertions, 0 deletions
