This seems to work. I settled on one default filter:
$BOLTmyFilter['title'] = Array('''=>'','"'=>'', ' '=>'-',
'/[\\.,\'":;?!]/'=>'');
Works pretty good... Will be in next release unless someone has a
good argument otherwise. Any forms using the target_fix feature
(blogs?) will have to be upgraded...
[text title]
[session target_fix {=title}]
to
[text title]
[session filter_title {=title}]
[session target {=filter_title}]
Cheers,
Dan
On Tue, Mar 3, 2009 at 11:20 AM, The Editor <[email protected]> wrote:
>> The only question is the namespace issue. Currently BOLTwire has a
>> BOLTfilter function and a $BOLTfilter array for filtering user input.
>
> Another option. for now, is to use a $BOLTmyFilter for the new
> filters. No other change to the core needed.
>
> I'm leaning toward leaving out any of these filters in the core. Blogs
> and the like can just define their own.
>
> Cheers,
> Dan
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---