aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJes Cok <xigua67damn@gmail.com>2024-02-24 11:52:38 +0000
committerJonathan Amsterdam <jba@google.com>2024-02-26 16:36:30 +0000
commit7b583fd1a1aeda98daa5a9d485b35786c031e941 (patch)
treef6d674bd6a29590a76e260b1bfa4e76a988aad88 /doc
parent5225da7001e95d70771c054c40a4877911ab9f2b (diff)
downloadgo-7b583fd1a1aeda98daa5a9d485b35786c031e941.tar.gz
go-7b583fd1a1aeda98daa5a9d485b35786c031e941.zip
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/next/6-stdlib/99-minor/net/http/64910.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/next/6-stdlib/99-minor/net/http/64910.md b/doc/next/6-stdlib/99-minor/net/http/64910.md
new file mode 100644
index 0000000000..020e18b97b
--- /dev/null
+++ b/doc/next/6-stdlib/99-minor/net/http/64910.md
@@ -0,0 +1,2 @@
+The patterns used by [`net/http.ServeMux`](//net/http#ServeMux) allow
+multiple spaces matching regexp '[ \t]+'.