savannah-hackers-public
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Savannah-hackers-public] Prevent creation of mailing lists with nam


From: Yavor Doganov
Subject: Re: [Savannah-hackers-public] Prevent creation of mailing lists with names reserved by Mailman
Date: Fri, 29 Aug 2008 22:42:12 +0300
User-agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Goj┼Ź) APEL/10.7 Emacs/22.2 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI)

Sylvain Beucler wrote:
> 
> you need to detect suffixes, so checking the complete name won't
> work.

That's what I thought I'm doing -- according to my (uneducated)
reading, $list_name['new'] is esaxtly the suffix in
address@hidden  Of course I may be wrong, but I can't see
what's the right suffix to compare with, if that's not it.

> Also 'a = ("join" || "leave")' won't work, you need to use the full
> 'a == "join" || a == "leave"'.
> 
> I think you can use "php -l" to check syntax.

Thanks, I didn't know this; however with my change it returns:

No syntax errors detected in index.php

(I just installed the php5-cli package to test this.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]