Modify ↓
Opened 13 months ago
Closed 13 months ago
#13622 closed defect (worksforme)
No replacement for ITemplateStreamFilter
Reported by: | Dirk Stöcker | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | 1.6 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Trac 1.6 dropped the ITemplateStreamFilter from Genshi completely and I'm unable to find ANY replacement to use in spamfilter for the trapfield strategy.
That strategy is one of the major contributors to reject spam.
Please create a new method to access the final templated string
- a callback for template conversion
- an Extension which hooks before the the call to req.send()
- an extension to Request to hook into _send()
- a possible to extend/override the Request class (probably the best solution with most options for different use)
If there is something I overlooked please tell me. I didn't find anything relevant.
Attachments (0)
Change History (2)
comment:1 by , 13 months ago
comment:2 by , 13 months ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
In #13321 there was another solution which works.
Note:
See TracTickets
for help on using tickets.
A possible solution could look like this:
web/chrome.py
template, data, text,template, data, text,template, data, text)template, data, text=False,