diff options
| author | Jonathan Amsterdam <jba@google.com> | 2025-05-17 19:36:06 -0400 |
|---|---|---|
| committer | Jonathan Amsterdam <jba@google.com> | 2025-05-19 12:25:47 -0700 |
| commit | 3602cec3af6083d095729f3db8493a226b9273c3 (patch) | |
| tree | 379e68dff68663c0c5ae722d5884e1f4a7613111 /src/runtime/debug.go | |
| parent | d52679006c8e08875fac92aca1f723fce488d0d2 (diff) | |
| download | go-3602cec3af6083d095729f3db8493a226b9273c3.tar.xz | |
net/http: fix ServeMux.Handler on trailing-slash redirect
When a match involves a trailing-slash redirect, ServeMux.Handler now
returns the pattern that matched.
Fixes #73688.
Change-Id: I682d9cc9a3628bed8bf21139b98369ffa6c53792
Reviewed-on: https://go-review.googlesource.com/c/go/+/673815
Reviewed-by: Filippo Valsorda <filippo@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Damien Neil <dneil@google.com>
Diffstat (limited to 'src/runtime/debug.go')
0 files changed, 0 insertions, 0 deletions
