parent
012fb1813c
commit
a4e3e1b584
|
@ -344,6 +344,7 @@ class RemoteFilesystem
|
||||||
if ($originUrl === 'bitbucket.org'
|
if ($originUrl === 'bitbucket.org'
|
||||||
&& substr($fileUrl, -4) === '.zip'
|
&& substr($fileUrl, -4) === '.zip'
|
||||||
&& preg_match('{^text/html\b}i', $contentType)
|
&& preg_match('{^text/html\b}i', $contentType)
|
||||||
|
&& $statusCode != 302
|
||||||
) {
|
) {
|
||||||
$result = false;
|
$result = false;
|
||||||
if ($this->retryAuthFailure) {
|
if ($this->retryAuthFailure) {
|
||||||
|
|
Loading…
Reference in New Issue