diff options
| author | Brad Fitzpatrick <bradfitz@golang.org> | 2018-05-04 17:16:49 +0000 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-05-04 18:40:56 +0000 |
| commit | eed79f46c2791357a118e3f9f6be461b866e7f83 (patch) | |
| tree | fdfffeea215718c9c75c71e7fccbd0a778980ec3 /src/database/sql | |
| parent | 73e38303f3e24ea651778705606b390d088070f0 (diff) | |
| download | go-eed79f46c2791357a118e3f9f6be461b866e7f83.tar.xz | |
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>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions
