1
0
mirror of https://github.com/golang/go synced 2024-11-19 12:44:51 -07:00
go/src
Brad Fitzpatrick eed79f46c2 net/http: ignore case of basic auth scheme in Request.BasicAuth
RFC 2617, Section 1.2: "It uses an extensible, case-insensitive
token to identify the authentication scheme"

RFC 7617, Section 2: "Note that both scheme and parameter names are
matched case-insensitively."

Fixes #22736

Change-Id: I825d6dbd4fef0f1c6add89f0cbdb56a03eae9443
Reviewed-on: https://go-review.googlesource.com/111516
Reviewed-by: Dmitri Shuralyov <dmitri@shuralyov.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-05-04 18:40:56 +00:00
..
archive archive/zip: avoid data descriptor when writing directories 2018-05-02 23:34:50 +00:00
bufio
builtin
bytes bytes, strings: improve EqualFold fast version for ASCII 2018-05-01 18:52:19 +00:00
cmd cmd/compile: add wasm architecture 2018-05-04 17:56:12 +00:00
compress compress/gzip: skip builder-only test on iOS 2018-05-04 14:46:19 +00:00
container
context context: avoid defer in the cancelCtx.Err method 2018-04-15 21:35:53 +00:00
crypto crypto/rand, crypto/x509: add js/wasm architecture 2018-05-03 18:00:24 +00:00
database/sql database/sql: trivial documentation fixes 2018-05-01 14:43:13 +00:00
debug all: skip unsupported tests for js/wasm 2018-04-30 19:39:18 +00:00
encoding all: skip unsupported tests for js/wasm 2018-04-30 19:39:18 +00:00
errors
expvar
flag
fmt fmt: make %v doc for compound objects consistent 2018-04-17 23:47:44 +00:00
go cmd/go, go/build: add support for gccgo tooldir 2018-05-04 00:46:12 +00:00
hash
html
image
index/suffixarray
internal internal/cpu: remove platform specific prefix from cpu hwcap variables 2018-05-01 15:50:19 +00:00
io
log all: skip unsupported tests for js/wasm 2018-04-30 19:39:18 +00:00
math math/bits: move tests into their own package 2018-05-01 15:33:01 +00:00
mime
net net/http: ignore case of basic auth scheme in Request.BasicAuth 2018-05-04 18:40:56 +00:00
os os: remove superfluous comments 2018-05-02 14:41:57 +00:00
path path/filepath: fix Win32 tests missing 'chcp' 2018-04-26 18:25:15 +00:00
plugin
reflect reflect: define MyBuffer more locally in TestImplicitMapConversion 2018-04-18 12:47:39 +00:00
regexp
runtime runtime: fast clock_gettime on FreeBSD, always call getHPETTimecounter on systemstack 2018-05-04 17:34:20 +00:00
sort sort: fix typo in comment 2018-04-22 22:32:11 +00:00
strconv strconv: simplify and optimize Itoa(small) 2018-05-03 18:07:02 +00:00
strings strings: fix encoding of \u0080 in map 2018-05-04 05:37:45 +00:00
sync sync/atomic: redirect many functions to runtime/internal/atomic 2018-05-03 21:35:01 +00:00
syscall syscall/js: add package 2018-05-03 18:00:07 +00:00
testing testing: fix racey access to t.failed 2018-05-02 17:51:26 +00:00
text all: skip unsupported tests for js/wasm 2018-04-30 19:39:18 +00:00
time cmd/vet: better align print warnings with fmt 2018-05-04 02:57:37 +00:00
unicode
unsafe
vendor/golang_org/x vendor: update golang.org/x/net/internal/nettest from upstream 2018-05-04 17:34:07 +00:00
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash src/*.bash: remove some trailing whitespace 2018-05-04 14:47:49 +00:00
make.bat
Make.dist
make.rc
naclmake.bash
nacltest.bash
race.bash src/*.bash: remove some trailing whitespace 2018-05-04 14:47:49 +00:00
race.bat
run.bash
run.bat
run.rc