[symfony-users] Re: How to use template.filter_parameters event to change CSRF error message?

2010-07-15 Thread Johannes
Hm, this looks like quite a bit of overhead.

Have you tried sfValidatorBase::setDefaultMessage()?

Kind regards,
Johannes


On Jul 15, 1:56 am, Sid Bachtiar sid.bacht...@gmail.com wrote:
 http://bluehorn.co.nz/2010/07/15/how-to-change-csrf-attack-message-in...



 On Thu, Jul 15, 2010 at 11:25 AM, Sid Bachtiar sid.bacht...@gmail.com wrote:
  Never mind, I found the answer in
 http://www.symfony-project.org/more-with-symfony/1_4/en/14-Playing-wi...

  On Thu, Jul 15, 2010 at 10:40 AM, Sid Bachtiar sid.bacht...@gmail.com 
  wrote:
  Hi,

  I would like to change the CSRF error message and someone (Kris W)
  pointed out that I should use template.filter_parameters event.

  Could Kris or someone please give me more clues?

  Thanks,

  Sid
  --
  Blue Horn Ltd - System Development
 http://bluehorn.co.nz

  --
  Blue Horn Ltd - System Development
 http://bluehorn.co.nz

 --
 Blue Horn Ltd - System Developmenthttp://bluehorn.co.nz

-- 
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 users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: How to use template.filter_parameters event to change CSRF error message?

2010-07-14 Thread Sid Bachtiar
Never mind, I found the answer in
http://www.symfony-project.org/more-with-symfony/1_4/en/14-Playing-with-Symfony-Config-Cache

On Thu, Jul 15, 2010 at 10:40 AM, Sid Bachtiar sid.bacht...@gmail.com wrote:
 Hi,

 I would like to change the CSRF error message and someone (Kris W)
 pointed out that I should use template.filter_parameters event.

 Could Kris or someone please give me more clues?

 Thanks,

 Sid
 --
 Blue Horn Ltd - System Development
 http://bluehorn.co.nz




-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

-- 
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 users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: How to use template.filter_parameters event to change CSRF error message?

2010-07-14 Thread Sid Bachtiar
http://bluehorn.co.nz/2010/07/15/how-to-change-csrf-attack-message-in-symfony-1-2/

On Thu, Jul 15, 2010 at 11:25 AM, Sid Bachtiar sid.bacht...@gmail.com wrote:
 Never mind, I found the answer in
 http://www.symfony-project.org/more-with-symfony/1_4/en/14-Playing-with-Symfony-Config-Cache

 On Thu, Jul 15, 2010 at 10:40 AM, Sid Bachtiar sid.bacht...@gmail.com wrote:
 Hi,

 I would like to change the CSRF error message and someone (Kris W)
 pointed out that I should use template.filter_parameters event.

 Could Kris or someone please give me more clues?

 Thanks,

 Sid
 --
 Blue Horn Ltd - System Development
 http://bluehorn.co.nz




 --
 Blue Horn Ltd - System Development
 http://bluehorn.co.nz




-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

-- 
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 users group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en