From ca67370f0736904f6705f06f36cb228e670f0486 Mon Sep 17 00:00:00 2001 From: Andreu Date: Thu, 14 Dec 2023 14:00:07 +0100 Subject: [PATCH] Escape request string. --- src/newrelic_logging/salesforce.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/newrelic_logging/salesforce.py b/src/newrelic_logging/salesforce.py index b6e66be..b6287e4 100644 --- a/src/newrelic_logging/salesforce.py +++ b/src/newrelic_logging/salesforce.py @@ -195,6 +195,7 @@ def make_single_query(self, query_template): from_timestamp = self.last_to_timestamp query = query_template.format(to_timestamp=to_timestamp, from_timestamp=from_timestamp, log_interval_type=self.generation_interval) + query = query.replace(' ', '+') return query def slide_time_range(self):