Open omani opened 4 years ago
I had the same issue and the changes suggested by @omani fixes it. According to the net/url docs:
validOptionalPort reports whether port is either an empty string or matches /^:\d*$/
@omani can you do a pull request or should I?
yeah will do.
done.
hi there, with the new golang version (and its built in url lib):
in
node.go
does not work anymore.my workaround was to say:
in
node.go
and:
in
node.go
later. instead ofif p == "*"
.fyi.