diff options
author | v1r0x <vinzenz.rosenkranz@gmail.com> | 2016-02-18 11:56:09 +0100 |
---|---|---|
committer | v1r0x <vinzenz.rosenkranz@gmail.com> | 2016-02-18 11:56:09 +0100 |
commit | 534071f4b23f8e25a236543e78f82b5eb836faed (patch) | |
tree | e8b8269180f80736bed2e745ca6e64bf39c4ab18 /lib | |
parent | 73d46afc3c5ef237cc8a5431aa1bef4686a7521b (diff) | |
download | nextcloud-server-534071f4b23f8e25a236543e78f82b5eb836faed.tar.gz nextcloud-server-534071f4b23f8e25a236543e78f82b5eb836faed.zip |
set correct http status code
Was intended to respond with a 303 (See other) status code instead of 307 (Temporary Redirect).
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/appframework/http/redirectresponse.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/appframework/http/redirectresponse.php b/lib/public/appframework/http/redirectresponse.php index 7208012295f..bb0c8843715 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); } |