net/url: url.IsAbs doesn't take into account schemeless absolute urls #15753
Labels
Documentation
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
1. What version of Go are you using (
go version
)?2. What operating system and processor architecture are you using (
go env
)?3. What did you do?
https://play.golang.org/p/mwe5nXffX6
4. What did you expect to see?
//example.com is absolute.
5. What did you see instead?
//example.com is relative.
6. Fix and automated tests provided:
https://github.com/kkomelin/go/commit/a4c6cc8dc3d3a84d74d71343aebe0d456ec6005c
The text was updated successfully, but these errors were encountered: