]> git.openstreetmap.org Git - nominatim.git/commitdiff
be more strict with the root url
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 1 Aug 2017 20:23:13 +0000 (22:23 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 1 Aug 2017 20:23:13 +0000 (22:23 +0200)
utils/cron_ipanalyse.py

index fa9f1cb7c7c833715b1f8528fa5bf36d017fd315..be5e6956915b502e19df315056f6a869d94110db 100755 (executable)
@@ -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'