Follow redirects in favicons

This commit is contained in:
mhutti1 2018-07-26 23:22:06 +01:00 committed by Matthieu Gautier
parent 4cb55e1eef
commit 3227b29c90
1 changed files with 1 additions and 0 deletions

View File

@ -265,6 +265,7 @@ bool Reader::getFavicon(string& content, string& mimeType) const
for (auto &path: paths) {
try {
auto entry = getEntryFromPath(path);
entry = entry.getFinalEntry();
content = entry.getContent();
mimeType = entry.getMimetype();
return true;