This should be validated using `parse_url`