string preprocessing was not performed for 'labels:'
The current immplementation of tolist (used for 'labels:' and some others) calls tostr() on each label (separated by '|'), but does not store the result.
@@ -645,8 +645,9 @@ def str_to_msg(txt, ignore_fields=''):
def tolist(txt):
vals = txt.split('|')
- for v in vals:
+ for i, v in enumerate(vals):
v = tostr(v)
+ vals[i] = v
return vals
def convert(key, value):
