]> Cypherpunks repositories - gostls13.git/commit
net/http: allow multiple spaces between method and path in mux patterns
authorJes Cok <xigua67damn@gmail.com>
Sat, 24 Feb 2024 11:52:38 +0000 (11:52 +0000)
committerJonathan Amsterdam <jba@google.com>
Mon, 26 Feb 2024 16:36:30 +0000 (16:36 +0000)
commit7b583fd1a1aeda98daa5a9d485b35786c031e941
treef6d674bd6a29590a76e260b1bfa4e76a988aad88
parent5225da7001e95d70771c054c40a4877911ab9f2b
net/http: allow multiple spaces between method and path in mux patterns

Fixes #64910

Change-Id: I14fd1e35c95b14591e3ad7b889dc1ab19a008730
GitHub-Last-Rev: b8d436cdee93d103703e7e6d4bb28315c5035300
GitHub-Pull-Request: golang/go#65868
Reviewed-on: https://go-review.googlesource.com/c/go/+/565916
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
doc/next/6-stdlib/99-minor/net/http/64910.md [new file with mode: 0644]
src/net/http/pattern.go
src/net/http/pattern_test.go
src/net/http/server.go