From a5e9b17a3707fc48c6d87bab3a4968f2ef63ab65 Mon Sep 17 00:00:00 2001 From: HowJMay Date: Mon, 27 Jan 2020 00:56:33 +0800 Subject: [PATCH] x/website: Fix wrong variable name fixes #36779 --- doc/articles/wiki/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/articles/wiki/index.html b/doc/articles/wiki/index.html index f8144bbac3..4e3a5deab5 100644 --- a/doc/articles/wiki/index.html +++ b/doc/articles/wiki/index.html @@ -674,7 +674,7 @@ The closure returned by makeHandler is a function that takes an http.ResponseWriter and http.Request (in other words, an http.HandlerFunc). The closure extracts the title from the request path, and -validates it with the TitleValidator regexp. If the +validates it with the validPath regexp. If the title is invalid, an error will be written to the ResponseWriter using the http.NotFound function. If the title is valid, the enclosed handler function