Signed-off-by: Michael Tremer michael.tremer@ipfire.org --- src/scripts/location-importer.in | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/src/scripts/location-importer.in b/src/scripts/location-importer.in index 0e2764e..d0384b5 100644 --- a/src/scripts/location-importer.in +++ b/src/scripts/location-importer.in @@ -894,6 +894,11 @@ class CLI(object): # Update any geofeed information geofeed = inetnum.get("geofeed", None)
+ # Make sure that this is a HTTPS URL + if geofeed and not geofeed.startswith("https://"): + log.warning("Geofeed URL is not using HTTPS: %s" % geofeed) + geofeed = None + # Store/update any geofeeds if geofeed: self.db.execute("""