Page MenuHomeVyOS Platform

DHCPv4 timezone pcode incorrectly constructed
Closed, ResolvedPublic

Description

Per 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). This double escape is required 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, "CST6CDT,M3.2.0,M11.1.0" should be rendered as "CST6CDT\\,M3.2.0\\,M11.1.0".

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

indrajitr changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.May 12 2026, 12:39 AM
indrajitr changed Issue type from Unspecified (please specify) to Bug (incorrect behavior).
Viacheslav changed the task status from In progress to Needs testing.May 13 2026, 3:53 PM
Viacheslav moved this task from Need Triage to Completed on the VyOS Rolling board.