[Buildbot-commits] [Buildbot] #1782: Hide email address in web status

Buildbot nobody at buildbot.net
Sun Jan 30 17:20:36 UTC 2011


#1782: Hide email address in web status
------------------------+--------------------
Reporter:  tfogal       |       Owner:
    Type:  enhancement  |      Status:  new
Priority:  major        |   Milestone:  0.8.+
 Version:  0.8.3p1      |  Resolution:
Keywords:               |
------------------------+--------------------

Comment (by marcusl):

 This is taken care of in the Jinja templates, via the
 [https://github.com/buildbot/buildbot/blob/master/master/buildbot/status/web/base.py#L473
 emailfilter()] function. It injects a {{{div style='display:none'>}}} tag
 in the middle of the e-mail, which is reported to be reasonably efficent
 against scapers.

 Of course, we could/should allow the user to configure their own e-mail-
 filter (to obfuscate or eliminate parts of the e-mail) if the default
 functionality isn't enough. However, I'd like to point out that we're not
 entirely naive about it. :)

 For now, you could monkey-patch status.web.base.emailfilter (before
 creating WebStatus) to replace the current with your own.

 ''Related: Not sure if the JSON api filters e-mail addresses this way. I
 suspect it may not, and then we're indeed wide-open to web scrapers, but
 that can probably be remedied easily enough...''

-- 
Ticket URL: <http://trac.buildbot.net/ticket/1782#comment:2>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list