Perhaps either whitelist [URL](https://docs.oracle.com/javase/7/docs/api/java/net/URL.html) or wrapping that function. Should be able to get scheme, host, port, path, fragment. Meta: https://github.com/elastic/elasticsearch/issues/60659
Perhaps either whitelist URL or wrapping that function.
Should be able to get scheme, host, port, path, fragment.
Meta: #60659