responseRedirect

  • Thread starter Thread starter ragtek
  • Start date Start date
R

ragtek

Guest
Why is this response
PHP:
 return $this->responseRedirect(
                XenForo_ControllerResponse_Redirect::SUCCESS,
                $link
            );
made per $_POST?

If i redirect with this, it's going always into the isPost() part, but i need a "normal" response
PHP:
 public function actionIndex()
    {

        if ($this->_request->isPost())
        {
            $this->_assertPostOnly();
 
In FF, if you have an error before the redirect, fix the error, and hit refresh, it may redirect you via POST for some reason (or something similar to that). However, other than that, it should redirect with via GET (that appears to be the documented requirement for a 303 redirect).
 
Top Bottom