diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2020-07-14 16:34:20 +0200 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2020-08-04 12:12:11 +0200 |
commit | 7d8bb855487d6821b0cd6bf5d2270ed8fda3d1a3 (patch) | |
tree | f465a732a27bc9caf57002de8ce00dee695f74ca /apt-private | |
parent | 9cb5a81168307e15f209173ad9286835bff2df65 (diff) |
Replace whitelist/blacklist with allowlist/denylist
Diffstat (limited to 'apt-private')
-rw-r--r-- | apt-private/private-update.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-update.cc b/apt-private/private-update.cc index 248f1f36e..affae655d 100644 --- a/apt-private/private-update.cc +++ b/apt-private/private-update.cc @@ -110,7 +110,7 @@ bool DoUpdate(CommandLine &CmdL) if (uri.User.empty() && uri.Password.empty()) continue; // we can't really predict if a +http method supports everything http does, - // so we play it safe and use a whitelist here. + // so we play it safe and use an allowlist here. char const *const affected[] = {"http", "https", "tor+http", "tor+https", "ftp"}; if (std::find(std::begin(affected), std::end(affected), uri.Access) != std::end(affected)) // TRANSLATOR: the first two are manpage references, the last the URI from a sources.list |