From 2781f6b011ac386df8b0bf9a93648944eb44507e Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 13 Nov 2016 11:07:32 +0100 Subject: [PATCH] Fixed: Any 3xx HTTP status codes are redirections --- code/ryzom/tools/client/ryzom_installer/src/downloader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ryzom/tools/client/ryzom_installer/src/downloader.cpp b/code/ryzom/tools/client/ryzom_installer/src/downloader.cpp index e3a3c3d01..2f68b3af2 100644 --- a/code/ryzom/tools/client/ryzom_installer/src/downloader.cpp +++ b/code/ryzom/tools/client/ryzom_installer/src/downloader.cpp @@ -277,7 +277,7 @@ void CDownloader::onHeadFinished() } // redirection - if (status == 302 || status == 307) + if (status >= 300 && status < 400) { if (redirection.isEmpty()) {