These malformed URLs should not cause StringIndexOutOfBoundsException.