1
0
Fork 0

prevent (prompt for) bitbucket auth when it redirected

#5584
pull/5717/head
berlinger-rarents 2016-09-26 19:47:10 +02:00
parent 012fb1813c
commit a4e3e1b584
1 changed files with 1 additions and 0 deletions

View File

@ -344,6 +344,7 @@ class RemoteFilesystem
if ($originUrl === 'bitbucket.org'
&& substr($fileUrl, -4) === '.zip'
&& preg_match('{^text/html\b}i', $contentType)
&& $statusCode != 302
) {
$result = false;
if ($this->retryAuthFailure) {