From 891ab4c28c2a68d42c11c664e765e445d5b3fae2 Mon Sep 17 00:00:00 2001 From: Kevin Heifner Date: Fri, 13 Aug 2021 15:40:01 -0500 Subject: [PATCH] Correctly escape %2F --- tests/Cluster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Cluster.py b/tests/Cluster.py index d5b4167370e..668453e9b61 100644 --- a/tests/Cluster.py +++ b/tests/Cluster.py @@ -618,7 +618,7 @@ def doNodesHaveBlockNum(nodes, targetBlockNum, blockType, printCount): @staticmethod def createAMQPQueue(queueName): - cmd="curl -u guest:guest -H \"content-type:application/json\" -XPUT http://127.0.0.1:15672/api/queues/\%2F/%s -d'{\"durable\":true}' " % \ + cmd="curl -u guest:guest -H \"content-type:application/json\" -XPUT http://127.0.0.1:15672/api/queues/%%2F/%s -d'{\"durable\":true}' " % \ (queueName) return Utils.runCmdReturnStr(cmd)