Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 1dcd62a

Browse files
committed
Bypass app transport security when checking site existence
1 parent 3e7609d commit 1dcd62a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WordPressAuthenticator/Unified Auth/View Related/Site Address/SiteAddressViewController.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ private extension SiteAddressViewController {
447447
DispatchQueue.main.async { [weak self] in
448448
guard let self = self else { return }
449449

450-
if let error = error {
450+
if let error = error, (error as NSError).code != NSURLErrorAppTransportSecurityRequiresSecureConnection {
451451
self.configureViewLoading(false)
452452

453453
if self.authenticationDelegate.shouldHandleError(error) {

0 commit comments

Comments
 (0)