in urlhandler/src/main/java/org/jclouds/karaf/urlhandler/BlobUrlHandler.java [74:86]
public URLConnection openConnection(URL url) throws IOException {
if (url.getPath() == null || url.getPath().trim().length() == 0 || !url.getPath().contains("/")) {
throw new MalformedURLException("Container / Blob cannot be null or empty. Syntax: " + SYNTAX);
}
String[] parts = url.getPath().split("/");
if (parts.length == 2 && (url.getHost() == null || url.getHost().trim().length() == 0)) {
throw new MalformedURLException("Provider cannot be null or empty. Syntax: " + SYNTAX);
}
logger.debug("Blob Protocol URL is: [" + url + "]");
return new Connection(url);
}