Fix favicons when a feed's homepage URL has non-ASCII in its path

This commit is contained in:
Nate Weaver
2021-07-18 17:01:59 -05:00
parent cc19b6b13e
commit 8911627a67
3 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ struct HTMLMetadataDownloader {
static let serialDispatchQueue = DispatchQueue(label: "HTMLMetadataDownloader")
static func downloadMetadata(for url: String, _ completion: @escaping (RSHTMLMetadata?) -> Void) {
guard let actualURL = URL(string: url) else {
guard let actualURL = URL(unicodeString: url) else {
completion(nil)
return
}