mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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
@@ -152,7 +152,7 @@ module Email
|
||||
# iframes can't go in emails, so replace them with clickable links
|
||||
@fragment.css('iframe').each do |i|
|
||||
begin
|
||||
# sometimes, iframes are blacklisted...
|
||||
# sometimes, iframes are blocklisted...
|
||||
if i["src"].blank?
|
||||
i.remove
|
||||
next
|
||||
|
||||
Reference in New Issue
Block a user