Personally, I don't think redirects belong in the view logic. However, a possibility may be to (by default) simply ignore redirects with regard to json requests.
I can't think of a lot of instances where redirects would be useful with json, though perhaps that's just my particular coding style talking... Jacob On Oct 27, 2:34 am, Lukas Kahwe Smith <[email protected]> wrote: > On 27.10.2010, at 08:10, Fabien Potencier > <[email protected]> wrote: > > > thinking about my other issue with xmlhttprequests and controllers that do > redirects, i am beginning to realize that this could also be solved if such > redirects would be implemented in the view layer. > > regards > Lukas -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en
