(on Saturday, 18 October 2008, 06:36 PM +0200):
> But about that JS expressions, what kind of problems can there be when I am
> putting my Javascript into a JSON string and using eval() to execute that?
Think function declarations. () and {} can cause issues and need to be
escaped in a particular way. For more background, see the Zend_Json_Expr
proposal:
--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/
没有评论:
发表评论