diff --git a/lib/core/agent.py b/lib/core/agent.py index 71298894b..4835355ba 100644 --- a/lib/core/agent.py +++ b/lib/core/agent.py @@ -90,7 +90,7 @@ class Agent: elif parameter == "User-Agent": retValue = value.replace(value, newValue) elif place == "URI": - retValue = value.replace("*", " %s " % newValue.replace(value, str())) + retValue = value.replace("*", "%s" % newValue.replace(value, str())) else: paramString = conf.parameters[place]