Changing comments in bugmail

Stephanie Daugherty sdaugherty at gmail.com
Sat Jul 16 12:34:04 UTC 2011


Not sure how to go about this, but as an aside, trolls are getting to the
point where many organizations, at least ones that use Bugzilla publicly
could use a "report abuse" feedback loop - this might be a worthwhile
complement to the profanity filter :)

-Stephanie

On Sat, Jul 16, 2011 at 5:34 AM, Gervase Markham <gerv at mozilla.org> wrote:

> Hi everyone,
>
> My Profanivore extension removes profanities from bug comments under
> certain circumstances. However, it does it by hooking into the
> bug_format_comment hook, and so has no effect on bugmail. Given that the
> aim is to stop people being sworn at, this is not good.
>
> The newchangedmail.txt.tmpl template calls comment.body_full(), which
> calls into another template, which calls comment.body(). I guess, to be
> most effective, I really want to pre-process the re
>
> I've looked, but can't see a way of fixing that with an existing hook.
> What would you all suggest as the best way to architect a fix for this
> problem?
>
> Gerv
> _______________________________________________
> dev-apps-bugzilla mailing list
> dev-apps-bugzilla at lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-apps-bugzilla
> -
> To view or change your list settings, click here:
> <http://bugzilla.org/cgi-bin/mj_wwwusr?user=sdaugherty@gmail.com>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bugzilla.org/pipermail/developers/attachments/20110716/5953aab6/attachment.html>


More information about the developers mailing list