You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The http and https 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 whether net/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:
)
<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description
<!-- Issue number if applicable -->
Validate URLs before fetching.
#### Link to tracking issue
Fixes#10468, Relates to #10121
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: