Re: petition against registering

From: Date: Wed, 10 Oct 2001 07:36:46 +0000
Subject: Re: petition against registering
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-1659@lists.php.net to get a copy of this message
Hi, Hans-Peter Oeri wrote:
Ok, security. Let's say we introduce a list of "allowed" functions that's empty by default - a special case to allow all.
That's the same as registering. Instead of doing $smarty->register_funtion("tag","myfunc"), I would now have to do $smarty->allowed_funcs[] = "myfunc". So that's not really a benefit. Greetings, Ivo -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl

« previous php.smarty.general (#1659) next »