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']);

An other quick question for the mailing list, does using Zend_Config as Array rather as INI files improves performance, is it worth doing?

Thanks again

Ali

--------------------------------------------------
From: "Bradley Holt" <[email protected]>
Sent: Monday, July 13, 2009 8:53 PM
To: "Muhammad Ali" <[email protected]>
Cc: <[email protected]>
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.php.net/manual/en/security.magicquotes.disabling.php

On Mon, Jul 13, 2009 at 3:44 PM, Muhammad Ali<[email protected]> wrote:
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 filter to strip slashes while
printing values where as if i can not put them as the first place.

Thanks


--
Bradley Holt
[email protected]

Reply via email to