Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

url_build() doesn't validate argument #482

Closed
JosiahParry opened this issue Jun 27, 2024 · 1 comment · Fixed by #611
Closed

url_build() doesn't validate argument #482

JosiahParry opened this issue Jun 27, 2024 · 1 comment · Fixed by #611
Labels
feature a feature request or enhancement url 👑
Milestone

Comments

@JosiahParry
Copy link

JosiahParry commented Jun 27, 2024

It's quite clear I didn't perfectly read the docs! But it would be quite nice if invalid names are found that an error (and better and informative one!) are provided.

httr2::url_build(list(host = host, port = port))
#> "//:3000"

Whereas I expected:

#> "http://127.0.0.1:3000"
@hadley hadley added the feature a feature request or enhancement label Jul 10, 2024
@hadley hadley added the url 👑 label Sep 6, 2024
JosiahParry added a commit to JosiahParry/httr2 that referenced this issue Sep 16, 2024
@JosiahParry
Copy link
Author

Will be closed by #550

@hadley hadley added this to the v1.1.0 milestone Dec 19, 2024
@hadley hadley closed this as completed in e6f425e Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature a feature request or enhancement url 👑
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants