Fix HTTP scheme for RSS Feed links

This commit is contained in:
relikd
2019-09-14 13:42:58 +02:00
parent 0331f8ca59
commit 994cbd29c2
5 changed files with 2579 additions and 4 deletions

View File

@@ -191,7 +191,7 @@ static NSString *kRDFAboutKey = @"rdf:about";
switch (len) {
case 4:
if (EqualBytes(localName, "link", 4)) {
self.parsedFeed.link = SAXParser.currentStringWithTrimmedWhitespace;
self.parsedFeed.link = [SAXParser.currentStringWithTrimmedWhitespace absoluteURLWithBase:nil];
self.baseURL = [NSURL URLWithString:self.parsedFeed.link];
}
return;