-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Validate URIs on http and https providers #10468
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
http
andhttps
providers don't do any validation of their URIs. This means it's hard for us to explore using alternative syntax for parameters as discussed on #10121. We should check whethernet/http
supports IDNAs and if so use https://pkg.go.dev/golang.org/x/net/idna for validation.I argue this should be allowed after 1.0 since the URIs were invalid before and the behavior was unspecified for them.
The text was updated successfully, but these errors were encountered: