mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
A port named NAS"1 made status.json unparsable, so the page stopped loading, and the name survives a reboot in the saved config. VLAN names and the SFP strings have the same problem. They now go through a helper that replaces ", \ and non-printable bytes with a dot, the way the hostname is already sanitized on ingest. The length does not change, so the size checks still hold. The helper also covers the 0xa0 byte that send_sfp_info() skipped as a special case, so that check is gone.