@cryptotaxi247 / kubo / commits / 7313a45bc

fix: url.RawFragment does not work in go1.14

I don't think we need to worry about #hash, so just removed it

Marcin Rataj committed Dec 15, 2020 at 22:22 UTC 7313a45bc7e58c8880bc0350acc5a5d909474030
1 file changed +1 -1
core/commands/pin/remotepin.go
+1 -1
@@ -752,7 +752,7 @@ func normalizeEndpoint(endpoint string) (string, error) {
752 uri.Path = strings.TrimSuffix(uri.Path, "/")
753
754 // remove any query params
755 - if uri.RawQuery != "" || uri.RawFragment != "" {
755 + if uri.RawQuery != "" {
756 return "", fmt.Errorf("service endpoint should be provided without any query parameters")
757 }
758