Revision: 29578 http://sourceforge.net/p/bibdesk/svn/29578 Author: hofman Date: 2025-09-14 14:35:53 +0000 (Sun, 14 Sep 2025) Log Message: ----------- no need to handle authentication of webdownload as this is already handled bby the class itself
Modified Paths: -------------- trunk/bibdesk/BDSKDownloadManager.m Modified: trunk/bibdesk/BDSKDownloadManager.m =================================================================== --- trunk/bibdesk/BDSKDownloadManager.m 2025-09-13 15:54:30 UTC (rev 29577) +++ trunk/bibdesk/BDSKDownloadManager.m 2025-09-14 14:35:53 UTC (rev 29578) @@ -426,17 +426,6 @@ return YES; } -- (void)download:(NSURLDownload *)download didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge { - [[BDSKAuthenticationHandler sharedHandler] startAuthentication:challenge window:nil completionHandler:^(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential){ - if (disposition == NSURLSessionAuthChallengeUseCredential) - [[challenge sender] useCredential:credential forAuthenticationChallenge:challenge]; - else if (disposition == NSURLSessionAuthChallengePerformDefaultHandling) - [[challenge sender] continueWithoutCredentialForAuthenticationChallenge:challenge]; - else if (disposition == NSURLSessionAuthChallengeCancelAuthenticationChallenge) - [download cancel]; - }]; -} - @end #pragma mark - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. _______________________________________________ Bibdesk-commit mailing list Bibdesk-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-commit