Re: [fw-general] Fw: $request-getParams() returns escaped data

2009-07-14 Thread Dalibor Karlović
: $request-getParams() returns escaped data This isn't Zend Framework -- it sounds like you have magic quotes turned on. These should be disabled[1] when using Zend Framework. [1] http://us3.php.net/manual/en/security.magicquotes.disabling.php On Mon, Jul 13, 2009 at 3:44 PM, Muhammad

Re: [fw-general] Fw: $request-getParams() returns escaped data

2009-07-14 Thread Muhammad Ali
] Fw: $request-getParams() returns escaped data This isn't Zend Framework -- it sounds like you have magic quotes turned on. These should be disabled[1] when using Zend Framework. [1] http://us3.php.net/manual/en/security.magicquotes.disabling.php On Mon, Jul 13, 2009 at 3:44 PM, Muhammad

[fw-general] Fw: $request-getParams() returns escaped data

2009-07-13 Thread Muhammad Ali
Hi Just wanted to check if escaping for $request-getParams() can be turned off e.g. single quote( ' ) is replaced by ( \' ). I have tried it before calling any other methods but still the same, is there any helper or plugin I need to set options for? If it is a default, why I should create a

Re: [fw-general] Fw: $request-getParams() returns escaped data

2009-07-13 Thread Bradley Holt
This isn't Zend Framework -- it sounds like you have magic quotes turned on. These should be disabled[1] when using Zend Framework. [1] http://us3.php.net/manual/en/security.magicquotes.disabling.php On Mon, Jul 13, 2009 at 3:44 PM, Muhammad Aliimjob@live.com wrote: Hi Just wanted to

Re: [fw-general] Fw: $request-getParams() returns escaped data

2009-07-13 Thread till
On Mon, Jul 13, 2009 at 10:16 PM, Muhammad Aliimjob@live.com wrote: Hi Bradley Thank a lot for your answer you have saved me hours and injecting work arounds :) if(isset($postValues['title'])) $postValues['title'] = stripslashes($postValues['title']); That is a bad hack. Say you have a

Re: [fw-general] Fw: $request-getParams() returns escaped data

2009-07-13 Thread Muhammad Ali
imjob@live.com Cc: Bradley Holt bradley.h...@foundline.com; fw-general@lists.zend.com Subject: Re: [fw-general] Fw: $request-getParams() returns escaped data On Mon, Jul 13, 2009 at 10:16 PM, Muhammad Aliimjob@live.com wrote: Hi Bradley Thank a lot for your answer you have saved me hours

Re: [fw-general] Fw: $request-getParams() returns escaped data

2009-07-13 Thread Matthew Weier O'Phinney
:53 PM To: Muhammad Ali imjob@live.com Cc: fw-general@lists.zend.com Subject: Re: [fw-general] Fw: $request-getParams() returns escaped data This isn't Zend Framework -- it sounds like you have magic quotes turned on. These should be disabled[1] when using Zend Framework. [1] http://us3