On Wed, 2 Jun 2010, comb wrote: > But now there is a search-results page, too, that comes from the > search-action, where the redirection is done. If the user starts a new > search from here and is too fast he gets the flash-message again, but > the redirect to the last page is recursively since he came from the > same action as he's redirected to. In this case I want to redirect the > user to @homepage, too. But I don't know, how to find out, if the > referrer matches the current route.
What Ive done in the past is generate the URL for the current page and store it in the session, so you can examine it in your action and take appropriate action. Referer is really not reliable so I donbt use it. -- -- 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 [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-users?hl=en
