Is it possibly related to whether or not there is a trailing slash in the URL depending on how your routes are setup?
I have noticed that I get a 404 page if I request a page with a trailing slash when my route is setup to work without a trailing slash. I ended up setting up a htaccess redirect to fix it. On May 24, 9:34 pm, "Eric B." <ebe...@hotmail.com> wrote: > Hi, > > I'm running into a really strange bug here. I've got an action that > finishes with a redirect() method: > > public function executeRegister(sfWebRequest $request) > { > > .... > > // go to next step > $this->redirect("submit/index"); > } > > However, I have been getting intermittent reports that the user is not > being redirected, but rather remains on the same page. > > I looked at the code for redirect() and it throws an exception to > prevent further code execution, so for the life of me, I cannot figure > out why they wouldn't be receiving the 302 message. > > Like I said, this is intermittent. I have not been able to reproduce it > myself, but the sheer number of reports I receive indicating that they > run into the same problem indicates that it happens more than once. > > This problem seems to occur in several pages that have this type of code. > > Am I missing something to make it function more reliably? Do I need > something additional to the redirect call before the end of the method? > > Thanks for any advice or insight you can provide. I am utterly stumped > to try and figure this out. > > Eric -- 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