fix(flag): honor full separator length when splitting map key=value pairs
splitKeyVal sliced the value from index+1, skipping only one byte of the key/value separator. With a multi-character sep tag (e.g. sep:"=>") the remaining separator bytes leaked into the value. Slice from index+len(sep) so the whole separator is consumed.
This commit is contained in:
1 parent
8a9f09fc09
commit
55cba65a99
2 files changed
+22
-1
No files matched your search
Reference in new issue
Block a user