Looks like you have an input filter using addslashes() and you are lacking
the use of stripslashes() on output. (or more likely
mysql_real_escape_string() and its paired function.)  Anyone able to comment
on this with more authority?  I'm not a Zend Framework guy, I just get the
list emails.

MM

On Wed, Jul 13, 2011 at 6:57 PM, xpete [via Zend Framework Community] <
[email protected]> wrote:

> I'am doing this:
>
> http://zend-framework-community.634137.n4.nabble.com/How-to-Zend-Dojo-Form-Dependent-Selects-e-g-Country-City-td663650.html
>
> and if i do this:
> $this->view->form->getElement('subtipo')->setStoreParams(array('url' => '
> http://localhost/~xpete/project/public/info/lookup/tipo/1'));
>
> I get this result on the generated html:
> subtipo_id = new
> dojo.data.ItemFileReadStore({"url":"http:\/\/localhost\/~xpete\/project\/public\/info\/lookup\/tipo\/1"});
>
>
> I mean, the '\' have been replaced by '\/'.
> There's any way i can avoid this? this is a Zend bug?
> I tried this with Zend FW 1.11.7 1.11.8 and 1.11.9 preview.
>
> thx
> Diogo
>
>
> ------------------------------
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://zend-framework-community.634137.n4.nabble.com/slashes-being-replaced-by-maybe-a-bug-tp3666299p3666299.html
>  To start a new topic under Zend Framework, email
> [email protected]
> To unsubscribe from Zend Framework, click 
> here<http://zend-framework-community.634137.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=634138&code=bWF0dHloZWFkQGdtYWlsLmNvbXw2MzQxMzh8LTkzOTY3MTI5MA==>.
>
>


--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/slashes-being-replaced-by-maybe-a-bug-tp3666299p3666311.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to