Hi, ubuntu 22.04/trac-1.6/tracspamfilter-1.5.3/accountmanager-0.6.0
Account Policy set to RegistrationFilterAdapter.
Registering a user "test" I get in trac.log:
Trac[filtersystem] ERROR: Filter strategy <Component
tracspamfilter.filters.registration.RegistrationFilterStrategy> raised
exception: 'Fragment' object has no attribute 'replace'
Traceback (most recent call last):
File
"/usr/local/lib/python3.10/dist-packages/tracspamfilter/filters/registration.py",
line 81, in test
check.validate_registration(req)
File "/usr/local/lib/python3.10/dist-packages/acct_mgr/register.py", line
289, in validate_registration
raise RegistrationError(tag_(
acct_mgr.register.RegistrationError: Username <b>test</b> doesn't match
local naming policy.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/usr/local/lib/python3.10/dist-packages/tracspamfilter/filtersystem.py",
line 200, in test
retval = strategy.test(req, author, content, ip)
File
"/usr/local/lib/python3.10/dist-packages/tracspamfilter/filters/registration.py",
line 84, in test
msg = e.message.replace('\n', '')
AttributeError: 'Fragment' object has no attribute 'replace'
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/trac-users/648f7e75-3e39-47d9-affd-398cf20abdadn%40googlegroups.com.