From e8ccb39bc9f4bb2f1e71a48f1d8926043fea1b8e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Wed, 10 Apr 2013 19:47:13 +0200 Subject: [PATCH] Handle statuscodes in HTTPRequest compliant to RFC 2616 --- wcfsetup/install/files/lib/util/HTTPRequest.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/util/HTTPRequest.class.php b/wcfsetup/install/files/lib/util/HTTPRequest.class.php index 54709f554e..f7c527ce7c 100644 --- a/wcfsetup/install/files/lib/util/HTTPRequest.class.php +++ b/wcfsetup/install/files/lib/util/HTTPRequest.class.php @@ -215,7 +215,7 @@ final class HTTPRequest { $newRequest = clone $this; $newRequest->options['maxDepth']--; - if ($this->statusCode != '307') { + if ($this->statusCode != '303') { $newRequest->options['method'] = 'GET'; $newRequest->postParameters = array(); $newRequest->addHeader('Content-length', ''); -- 2.20.1