From 4f85ba2bffa416cd927ca3674d2c88c1c26ef529 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 22 Apr 2020 09:46:38 -0400 Subject: [PATCH] Fix nodeattrib set of password This path happens in nodeattrib. --- confluent_server/confluent/messages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/messages.py b/confluent_server/confluent/messages.py index b9f40571..6ab0c09d 100644 --- a/confluent_server/confluent/messages.py +++ b/confluent_server/confluent/messages.py @@ -702,7 +702,7 @@ class InputAttributes(ConfluentMessage): return {} nodeattr = deepcopy(self.nodeattribs[node]) for attr in nodeattr: - if type(nodeattr[attr]) in (bytes, unicode): + if type(nodeattr[attr]) in (bytes, unicode) and cfm.attrib_supports_expression(attr): try: # as above, use format() to see if string follows # expression, store value back in case of escapes