Hi
Using v6.2.6
The runtime.parseMapEntry function in runtime/maps.go extract parts from entries but does not correctly handle spaces in map values.
/etc/haproxy/maps/redirects.map
/mykey value with spaces
echo "show map /etc/haproxy/maps/redirects.map" | socat stdio haproxy_run/admin.sock
0x56310b5da3a0 /mykey value with spaces
client.ShowMapEntries("/etc/haproxy/maps/redirects.map")
models.MapEntries len: 1, cap: 2, [*{ID: "0x5590158893a0", Key: "/mykey", Value: "value"}]
should be:
models.MapEntries len: 1, cap: 2, [*{ID: "0x5590158893a0", Key: "/mykey", Value: "value with space"}]
Thanks
Sebastien