From 534071f4b23f8e25a236543e78f82b5eb836faed Mon Sep 17 00:00:00 2001 From: v1r0x Date: Thu, 18 Feb 2016 11:56:09 +0100 Subject: [PATCH] set correct http status code Was intended to respond with a 303 (See other) status code instead of 307 (Temporary Redirect). --- lib/public/appframework/http/redirectresponse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/public/appframework/http/redirectresponse.php b/lib/public/appframework/http/redirectresponse.php index 7208012295..bb0c884371 100644 --- a/lib/public/appframework/http/redirectresponse.php +++ b/lib/public/appframework/http/redirectresponse.php @@ -44,7 +44,7 @@ class RedirectResponse extends Response { */ public function __construct($redirectURL) { $this->redirectURL = $redirectURL; - $this->setStatus(Http::STATUS_TEMPORARY_REDIRECT); + $this->setStatus(Http::STATUS_SEE_OTHER); $this->addHeader('Location', $redirectURL); }