We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0670b6 commit 04f6cfeCopy full SHA for 04f6cfe
lib/internal/Magento/Framework/Filesystem/Driver/Http.php
@@ -39,6 +39,11 @@ public function isExists($path)
39
if (strpos($status, '302 Found') !== false && isset($headers[1])) {
40
$status = $headers[1];
41
}
42
+
43
+ /* Handling 301 redirection */
44
+ if (strpos($status, '301 Moved Permanently') !== false && isset($headers[1])) {
45
+ $status = $headers[1];
46
+ }
47
48
if (strpos($status, '200 OK') === false) {
49
$result = false;
0 commit comments