Edgewall Software
Modify

Opened 19 years ago

Closed 19 years ago

#3064 closed defect (fixed)

Regex spam filter does not work correctly

Reported by: Shunichi Goto <gotoh@…> Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: devel
Severity: normal Keywords: spam-filter
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

There is a patch for regex spam-filter.

  • tracspamfilter/filters/regex.py

     
    2020from trac.core import *
    2121from trac.wiki.api import IWikiChangeListener
    2222from trac.wiki.model import WikiPage
    23 from tracspamfilter.api import IFilterStrategy
     23from tracspamfilter.api import IFilterStrategy, RejectContent
    2424
    2525
    2626class RegexFilterStrategy(Component):
     
    3030        self.patterns = []
    3131        page = WikiPage(self.env, 'BadContent')
    3232        if page.exists:
    33             self._loadpatterns(page)
     33            self._load_patterns(page)
    3434
    3535    # IFilterStrategy methods
    3636

Attachments (0)

Change History (1)

comment:1 by Christopher Lenz, 19 years ago

Resolution: fixed
Status: newclosed

Fixed in [3254], thanks!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.