]> Cypherpunks repositories - gostls13.git/commit
Revert "net/url, net/http/httputil: accept invalid percent encodings"
authorDamien Neil <dneil@google.com>
Tue, 22 Nov 2022 17:22:13 +0000 (09:22 -0800)
committerDamien Neil <dneil@google.com>
Tue, 22 Nov 2022 18:25:01 +0000 (18:25 +0000)
commit69ca0a859cbd8807b03b7772a11f5a147cd46565
treec0308fe0e7c037fc236f0d4e43348c6f286e453a
parent793f1a13f74bbc767525f138ae78faacda59b44c
Revert "net/url, net/http/httputil: accept invalid percent encodings"

This reverts CL 450375.

Reason for revert: This change causes test failures (and possibly other
problems) for users depending on the existing validation behavior.
Rolling back the change for now to give us more time to consider its
impact. This landed late in the cycle and isn't urgent; it can wait
for 1.21 if we do want to make the change.

Fixes #56884
For #56732

Change-Id: I082023c67f1bbb933a617453ab92b67abba876ef
Reviewed-on: https://go-review.googlesource.com/c/go/+/452795
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Damien Neil <dneil@google.com>
Reviewed-by: Heschi Kreinick <heschi@google.com>
src/net/http/httputil/reverseproxy.go
src/net/http/httputil/reverseproxy_test.go
src/net/url/url.go
src/net/url/url_test.go