From e4925eb3dd7cd98bd4389691c203c235fff7c433 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 23 Sep 2010 21:57:11 +0000 Subject: [PATCH] update --- lib/core/agent.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/core/agent.py b/lib/core/agent.py index 8d80d1899..fa6673223 100644 --- a/lib/core/agent.py +++ b/lib/core/agent.py @@ -92,6 +92,9 @@ class Agent: child.text = "%s%s" % (negValue, value + falseValue + newValue) retValue = ET.tostring(root) + elif kb.injPlace == "URI": + retValue = paramString.replace("*", + "%s%s" % (negValue, falseValue + newValue)) else: retValue = paramString.replace("%s=%s" % (kb.injParameter, value), "%s=%s%s" % (kb.injParameter, negValue, value + falseValue + newValue))