public URI toUriLenient(URL url) throws URISyntaxException {
   return url.toURILenient();
 }