diff --git a/src/ol/format/kml.js b/src/ol/format/kml.js index 0e2b7bbf62..174e59cdf8 100644 --- a/src/ol/format/kml.js +++ b/src/ol/format/kml.js @@ -488,7 +488,7 @@ ol.format.KML.readFlatCoordinates_ = function(node) { */ ol.format.KML.readURI_ = function(node) { var s = ol.xml.getAllTextContent(node, false).trim(); - if (node.baseURI) { + if (node.baseURI && node.baseURI !== 'about:blank') { var url = new URL(s, node.baseURI); return url.href; } else {