]> Lady’s Gitweb - Gitweb/commit
gitweb: add "e-mail privacy" feature to redact e-mail addresses
authorGeorgios Kontaxis <redacted>
Sun, 28 Mar 2021 23:26:03 +0000 (23:26 +0000)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:33 +0000 (00:51 -0400)
commit55f06e7063188f3f6034f019e77a73880c5753c0dd1d95875fd36e7e1c87af7d
tree057e01e7b27e100062fd15e35186a162a0deab70e9ced0a34765012b6d5d160c
parent72e42412e078baff114a435fe10cb7e7f535979079bd416edcc1968397ee3d16
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 <redacted>
Acked-by: Eric Wong <redacted>
Acked-by: Ævar Arnfjörð Bjarmason <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.251091 seconds and 5 git commands to generate.