about summary refs log tree commit diff
path: root/app/views/about
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2020-12-18 08:30:41 +0100
committerGitHub <noreply@github.com>2020-12-18 08:30:41 +0100
commit8a95867693dfe072241d5ddcd0ba7ed8546eab1e (patch)
tree15a9faa3f1f7b7672294f3c2410c3ae706444120 /app/views/about
parentb1feb47055c121c1b6949bd7ef6734bf56c847bd (diff)
Add option to obfuscate domain name in public list of domain blocks (#15355)
- Replace the middle of the domain with * characters (except for periods)
- Add SHA-256 digest of the domain name in tooltip
Diffstat (limited to 'app/views/about')
-rw-r--r--app/views/about/_domain_blocks.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/about/_domain_blocks.html.haml b/app/views/about/_domain_blocks.html.haml
index e0c5df41d..35a30f16e 100644
--- a/app/views/about/_domain_blocks.html.haml
+++ b/app/views/about/_domain_blocks.html.haml
@@ -7,6 +7,6 @@
     - domain_blocks.each do |domain_block|
       %tr
         %td.nowrap
-          %span{ title: domain_block.domain }= domain_block.domain
+          %span{ title: "SHA-256: #{domain_block.domain_digest}" }= domain_block.public_domain
         %td
           = domain_block.public_comment if display_blocks_rationale?