[Mailman-Developers] error with bad email with % in addErrorinhtmlformat.py

Tokio Kikuchi tkikuchi at is.kochi-u.ac.jp
Tue Jan 11 22:27:54 CET 2005


Mark Sapiro wrote:

> Darrell Fuhriman wrote:
> 
>>In other words, the solution to the bug is not to reject things
>>with a (validly used) '%' but to fix the program so that strings
>>containing a '%' don't generate an error.
> 
> 
> I realize this thread has taken on a life of its own, but please note
> that the bug report with which I started this thread does not claim
> that '%' is or should be invalid in an e-mail address.

Folks,

I think I could track the bug. Sorry for misunderstanding the original 
post. I should have read the report with more care.
> 
> What it does report is the fact that in certain contexts, if one gives
> an otherwise invalid e-mail address that happens to also contain a '%'
> (for example, user%name.example.com which is invalid because it
> doesn't contain '@'), the attempt to report the invalid address back
> to the user gives a 'We're sorry, we hit a bug!' error.
> 

The problem is that addError() function has deprecated insertion 
function. It was replaced by i18n._(), I believe.

-- 
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/



More information about the Mailman-Developers mailing list