From 8473cb1cf8ad7690150acc44e562c75a5642ebe5 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 9 Nov 2018 15:38:40 -0500 Subject: [PATCH] Survive SLP values with = If the slp parsing produces = in the value, ignore it and do best effort to get the viable data out. --- confluent_server/confluent/discovery/protocols/slp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/discovery/protocols/slp.py b/confluent_server/confluent/discovery/protocols/slp.py index edb16c34..7ff97425 100644 --- a/confluent_server/confluent/discovery/protocols/slp.py +++ b/confluent_server/confluent/discovery/protocols/slp.py @@ -255,7 +255,7 @@ def _parse_attrlist(attrstr): currattr = currattr.decode('utf-8') attribs[currattr] = None else: - attrname, attrval = currattr.split('=') + attrname, attrval = currattr.split('=', 1) attrname = attrname.decode('utf-8') attribs[attrname] = [] for val in attrval.split(','):