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>
diff --git a/_content/doc/security.md b/_content/doc/security.md
deleted file mode 100644
index d3224d4..0000000
--- a/_content/doc/security.md
+++ /dev/null
@@ -1,3 +0,0 @@
-<!--{
-	"Redirect": "/security"
-}-->
diff --git a/cmd/golangorg/testdata/godev.txt b/cmd/golangorg/testdata/godev.txt
index 1123622..c071130 100644
--- a/cmd/golangorg/testdata/godev.txt
+++ b/cmd/golangorg/testdata/godev.txt
@@ -100,3 +100,12 @@
 
 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