]> Cypherpunks repositories - gostls13.git/commit
net/http/httputil: don't append to X-Forwarded-For in ReverseProxy when nil
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 29 Apr 2020 18:00:23 +0000 (11:00 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 30 Apr 2020 14:41:10 +0000 (14:41 +0000)
commitecdbffd4ec68b509998792f120868fec319de59b
treec9bcbcdc2b4d29c92e15fcf640e8b6eae4af6b5a
parent1d9801223eb0693af64d2bc8c23c910ce7f18b16
net/http/httputil: don't append to X-Forwarded-For in ReverseProxy when nil

Fixes #38079

Change-Id: Iac02d7f9574061bb26d1d9a41bb6ee6cc38934e5
Reviewed-on: https://go-review.googlesource.com/c/go/+/230937
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go1.15.html
src/net/http/httputil/reverseproxy.go
src/net/http/httputil/reverseproxy_test.go