Whats the case that info[3] from parse_url can be None or '' ?
Tests cov misses that branch.