1
0
Fork 0

Bypass failure if the server is just asking for credentials, fixes #1845

pull/1850/head
Jordi Boggiano 2013-04-30 11:59:11 +02:00
parent b9a44a0057
commit 4d52900dff
1 changed files with 4 additions and 0 deletions

View File

@ -236,6 +236,10 @@ class RemoteFilesystem
break;
}
if ($notificationCode === STREAM_NOTIFY_AUTH_REQUIRED) {
break;
}
throw new TransportException('The "'.$this->fileUrl.'" file could not be downloaded ('.trim($message).')', $messageCode);
case STREAM_NOTIFY_AUTH_RESULT: