]> Cypherpunks repositories - gostls13.git/commit
net/url: fix regex typo in comment in url.go
authorAleksandr Dobkinimg src=404 onerror=alert(document.domain) <dobkin@google.com>
Sat, 30 Apr 2022 04:02:43 +0000 (04:02 +0000)
committerDmitri Shuralyov <dmitshur@golang.org>
Sat, 30 Apr 2022 04:04:40 +0000 (04:04 +0000)
commitfd6c556dc82253722a7f7b9f554a1892b0ede36e
treec05912e158730acc69d747f69b180ba190561e93
parent0ebe224628bdf336b68b3d1c255ff58df2b070b0
net/url: fix regex typo in comment in url.go

The original author almost certainly intended to match the literal dash
character '-' but ended up matching a range of other characters instead.

Change-Id: I7a0f67c5fdccd70b7ad58a882da851dfc22ce2f0
GitHub-Last-Rev: 76a39577e551328f707fd73b9ce85d20c121c555
GitHub-Pull-Request: golang/go#52627
Reviewed-on: https://go-review.googlesource.com/c/go/+/403076
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
src/net/url/url.go