From: Sarah Hoffmann Date: Tue, 1 Aug 2017 20:23:13 +0000 (+0200) Subject: be more strict with the root url X-Git-Tag: deploy~378 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/69ea8228aba7189e3182797144946acc8a3aa1f9 be more strict with the root url --- diff --git a/utils/cron_ipanalyse.py b/utils/cron_ipanalyse.py index fa9f1cb7..be5e6956 100755 --- a/utils/cron_ipanalyse.py +++ b/utils/cron_ipanalyse.py @@ -85,7 +85,7 @@ class LogEntry: if qp[0] == 'OPTIONS': self.request = None else: - if '/' in qp[1]: + if '/?' in qp[1]: self.request = 'S' elif '/search' in qp[1]: self.request = 'S'