[patch]: handle all permutations of @FreeBSD.org in MAINTAINER=
Ade Lovett
ade at FreeBSD.org
Fri Jun 5 16:47:02 EDT 2009
On Jun 02, 2009, at 09:57 , Beat Gätzi wrote:
> Philip M. Gollucci wrote:
>> The following will allow the webui to catch all permutations of
>>
>> @FrEeBsD.oRg
>
> Unfortunately this patch does not work with PostgreSQL:
Since the RHS of an email address is case-insensitive, a "better"
solution would be to normalize (to lowercase) in tc_command.pl, before
handing off to input into the SQL database of choice. Then you'd only
have to check for "freebsd.org" -- of course, if you wanted, you could
do a further check (after normalization) to convert "freebsd.org" back
to "FreeBSD.org".
Implementation left to the interested reader ;)
-aDe
More information about the tinderbox-list
mailing list