Hello.

lib version 1.0.21

I have filter that checks if requested path info is valid.
If check failed, filter should generate an other url based on
requested path and default route params ($validated_url) . After this
check (if failed) project calls sfContext::getInstance()->getController
()->redirect($validated_url)

And problem is that project does not do action redirect in this
filter.

controller::redirect calls but context continues execution for old
(invalid) requested path info

I tried to redefine controller::redirect by customizing apps/myapp/
config/factories.yml
Quote:


public function redirect($url, $delay = 0, $statusCode = 302)
{
parent::redirect($url, $delay, $statusCode);
exit;
}



But. it works only in dev mode. not in prod.

How to fix it? Do i have at all ability to redefine controller in prod
mode?

P.S. controller::forward also does not do actual forward.
-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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.


Reply via email to