summaryrefslogtreecommitdiff
path: root/kwset.c
diff options
context:
space:
mode:
authorLibravatar Georgios Kontaxis <geko1702+commits@99rst.org>2021-03-28 23:26:03 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-04-08 15:54:26 -0700
commit0996dd3d6dbcc132cf212f3420b89947fd9cc2ba (patch)
tree7fda788ffbffbcafd16f896fc9f77e65bed87b53 /kwset.c
parentSync with v2.31.1 (diff)
downloadtgif-0996dd3d6dbcc132cf212f3420b89947fd9cc2ba.tar.xz
gitweb: add "e-mail privacy" feature to redact e-mail addresses
Gitweb extracts content from the Git log and makes it accessible over HTTP. As a result, e-mail addresses found in commits are exposed to web crawlers and they may not respect robots.txt. This can result in unsolicited messages. Introduce an 'email-privacy' feature which redacts e-mail addresses from the generated HTML content. Specifically, obscure addresses retrieved from the the author/committer and comment sections of the Git log. The feature is off by default. This feature does not prevent someone from downloading the unredacted commit log, e.g., by cloning the repository, and extracting information from it. It aims to hinder the low- effort, bulk collection of e-mail addresses by web crawlers. Signed-off-by: Georgios Kontaxis <geko1702+commits@99rst.org> Acked-by: Eric Wong <e@80x24.org> Acked-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'kwset.c')
0 files changed, 0 insertions, 0 deletions