Skip to content

Commit b70557a

Browse files
authored
Correct spelling mistake: manDocumentURL -> mainDocumentURL
1 parent c542180 commit b70557a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/FoundationNetworking/HTTPCookieStorage.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ open class HTTPCookieStorage: NSObject, @unchecked Sendable {
311311
if mainDocumentURL != nil && cookieAcceptPolicy == .onlyFromMainDocumentDomain {
312312
guard let mainDocumentHost = mainDocumentURL?.host?.lowercased() else { return }
313313

314-
//the url.host must be a suffix of manDocumentURL.host, this is based on Darwin's behaviour
314+
//the url.host must be a suffix of mainDocumentURL.host, this is based on Darwin's behaviour
315315
guard mainDocumentHost.hasSuffix(urlHost) else { return }
316316
}
317317

0 commit comments

Comments
 (0)