2008年10月28日星期二

Re: [fw-mvc] disable escaping on a Digit.editor elememt

-- Zé Luis <zeluisg@gmail.com> wrote
(on Tuesday, 28 October 2008, 03:56 PM -0000):
> Can someone point me in the right direction on this:
>
> I have a Zend_Dojo_Form with a digit.Editor element in it, I put some links in
> the content of the editor and when I try to save to the database all html
> elements are "escaped".

My guess is that you have magic_quotes_gpc enabled... try turning it
off.

ZF does not escape input using magic quotes, ever.

--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/

没有评论: