mirror of
https://github.com/discourse/discourse.git
synced 2025-05-26 11:12:03 +08:00
FIX: use allowlist and blocklist terminology (#10209)
This is a PR of the renaming whitelist to allowlist and blacklist to the blocklist.
This commit is contained in:

committed by
GitHub

parent
5077cf52fd
commit
e0d9232259
@ -343,7 +343,7 @@ describe Middleware::RequestTracker do
|
||||
tracker.call(env("REQUEST_URI" => uri, "ANON_CACHE_DURATION" => 60))
|
||||
expect(@data[:cache]).to eq("true")
|
||||
|
||||
# not whitelisted
|
||||
# not allowlisted
|
||||
request_params.delete("a")
|
||||
|
||||
expect(@env["action_dispatch.request.parameters"]).to eq(request_params)
|
||||
|
Reference in New Issue
Block a user