sanitizeUrl

abstract fun sanitizeUrl(url: String): String

Sanitizes a URL before it is used to fetch a resource.

Return

A safe, validated URL string, or null to block this resource.

Parameters

url

The raw URL from the KML.