gitweb: redacted e-mail addresses feature. kontaxis/email_privacy
authorGeorgios Kontaxis <redacted>
Fri, 19 Mar 2021 06:01:35 +0000 (06:01 +0000)
committerGeorgios Kontaxis <redacted>
Sun, 28 Mar 2021 22:33:59 +0000 (22:33 +0000)
commit245cfed8ad58ab8d07152f21c5cc95b239ba43ca
tree91102725ffa27c21760f41fbd8a11458f704ca12
parenta5828ae6b52137b913b978e16cd2334482eb4c1f
gitweb: redacted e-mail addresses feature.

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>
Documentation/gitweb.conf.txt
gitweb/gitweb.perl
git clone https://git.99rst.org/PROJECT