What if the url is whitespace or empty but not null? Shouldn't we use StringUtils.isBlank?