From 608cdcaede1e7133dc994b5e8894272c2dce744b Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Sat, 6 Jun 2020 20:59:12 -0400 Subject: all: replace usages of whitelist/blacklist and master/slave There's been plenty of discussion on the usage of these terms in tech. I'm not trying to have yet another debate. It's clear that there are people who are hurt by them and who are made to feel unwelcome by their use due not to technical reasons but to their historical and social context. That's simply enough reason to replace them. Anyway, allowlist and blocklist are more self-explanatory than whitelist and blacklist, so this change has negative cost. Didn't change vendored, bundled, and minified files. Nearly all changes are tests or comments, with a couple renames in cmd/link and cmd/oldlink which are extremely safe. This should be fine to land during the freeze without even asking for an exception. Change-Id: I8fc54a3c8f9cc1973b710bbb9558a9e45810b896 Reviewed-on: https://go-review.googlesource.com/c/go/+/236857 Reviewed-by: Brad Fitzpatrick Reviewed-by: Khosrow Moossavi Reviewed-by: Leigh McCulloch Reviewed-by: Urban Ishimwe --- src/html/template/html.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/html') diff --git a/src/html/template/html.go b/src/html/template/html.go index 13a0cd0436..d3359cac0a 100644 --- a/src/html/template/html.go +++ b/src/html/template/html.go @@ -240,7 +240,7 @@ func htmlNameFilter(args ...interface{}) string { } s = strings.ToLower(s) if t := attrType(s); t != contentTypePlain { - // TODO: Split attr and element name part filters so we can whitelist + // TODO: Split attr and element name part filters so we can allowlist // attributes. return filterFailsafe } -- cgit v1.3-5-g9baa