Bug #31912

Redirect in AbstractController and WebRedirect

Added by Carsten Bleicker almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Category:
MVC
Start date:
2011-11-18
Due date:
% Done:

0%

Estimated time:
PHP Version:
5.3
Has patch:
No
Complexity:
no-brainer

Description

the redirecting works atm by default with http refresh header.
there should be a change for AbstractController::redirectToUri to:
$this->response->setHeader('Location', (string)$uri, true);
and in WebRedirect::startAuthentication to:
$response->setHeader('Location', $plainUri, true);

#1

Updated by Carsten Bleicker almost 10 years ago

Please close this...
didnt see the default value is true in the method :)
sorry

#2

Updated by Bastian Waidelich almost 10 years ago

  • Category set to MVC
  • Status changed from New to Closed
  • Assignee set to Bastian Waidelich

Also available in: Atom PDF