Put parentheses around `name`: `URI.encode(name)`.