aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-04-23 14:24:12 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2017-04-23 14:24:12 +0200
commit8f6837b3869eafafef373d9a207566cb484219ed (patch)
treeb697d087e5508f769215b1649227e100a2be1e45
parent82b15936e120cb2dfa98af56efa23ed30a4c3b17 (diff)
Favicon minor
-rw-r--r--CHANGELOG.md2
-rw-r--r--lib/favicons.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f8d10e6dd..0cb5155d3 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -23,7 +23,7 @@
* Improve English [#1465](https://github.com/FreshRSS/FreshRSS/pull/1465)
* Misc.
* Fall back to article URL when the article GUID is empty [#1482](https://github.com/FreshRSS/FreshRSS/issues/1482)
- * Rewriten Favicon library using cURL [#1504](https://github.com/FreshRSS/FreshRSS/pull/1504)
+ * Rewritten Favicon library using cURL [#1504](https://github.com/FreshRSS/FreshRSS/pull/1504)
## 2017-03-11 FreshRSS 1.6.3
diff --git a/lib/favicons.php b/lib/favicons.php
index cc6e54374..de993ec8a 100644
--- a/lib/favicons.php
+++ b/lib/favicons.php
@@ -44,7 +44,7 @@ function downloadHttp(&$url, $curlOptions = array()) {
$info = curl_getinfo($ch);
curl_close($ch);
if (!empty($info['url']) && (filter_var($info['url'], FILTER_VALIDATE_URL) !== false)) {
- $url = $info['url'];
+ $url = $info['url']; //Possible redirect
}
return $info['http_code'] == 200 ? $response : '';
}