Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

prefilter for escaping $_REQUEST vars???

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Plugins
View previous topic :: View next topic  
Author Message
jet-jock
Smarty Regular


Joined: 11 Sep 2003
Posts: 48
Location: Connecticut, USA

PostPosted: Thu Jan 20, 2005 5:48 pm    Post subject: prefilter for escaping $_REQUEST vars??? Reply with quote

Hi,

Is it possible to use a prefilter to escape/sanitize $_REQUEST vars before submission into a db, for example?

I like mohrt's SafeSql plugin, but looking for something where I won't have to rewrite all my templates & plugins.

Thanks.
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Thu Jan 20, 2005 5:51 pm    Post subject: Reply with quote

That would not be a function of Smarty, that should be done post-processing.
Back to top
View user's profile Send private message Visit poster's website
jet-jock
Smarty Regular


Joined: 11 Sep 2003
Posts: 48
Location: Connecticut, USA

PostPosted: Fri Jan 21, 2005 12:48 am    Post subject: Reply with quote

Monte,

Thanks.

jet-jock
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Plugins All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP