cmd/golangorg: fix security redirect loop
Fixes golang/go#64672. Change-Id: I5355a1dc9993ef0471c4787f4964e45519a6f6dc Reviewed-on: https://go-review.googlesource.com/c/website/+/549215 Reviewed-by: Michael Pratt <mpratt@google.com> Auto-Submit: Russ Cox <rsc@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
Родитель
fc3ac592e3
Коммит
a5588a9e42
|
@ -1,3 +0,0 @@
|
|||
<!--{
|
||||
"Redirect": "/security"
|
||||
}-->
|
|
@ -100,3 +100,12 @@ redirect == /play/
|
|||
|
||||
GET https://go.dev/play/p/
|
||||
redirect == /play/
|
||||
|
||||
GET https://go.dev/security
|
||||
redirect == /security/
|
||||
|
||||
GET https://go.dev/security/
|
||||
redirect == /doc/security/
|
||||
|
||||
GET https://go.dev/doc/security/
|
||||
body contains Security
|
||||
|
|
Загрузка…
Ссылка в новой задаче