fix(#469): broker blank-field GET leaked the echoed key line
extractScalarValue required ' = ' (space-equals-space) and trimRight()'d first, so a blank field's reply 'key =' (no space after =) failed the match and the whole 'mqtt.broker.N.field =' line leaked in as the value. Split on the first '=' and trim instead: blank -> empty, values with '=' preserved. Regression tests added. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>pull/560/head
parent
d04bfa82a4
commit
3d6392f39f
Loading…
Reference in new issue