diff options
| author | 2023-11-14 23:27:41 +0100 | |
|---|---|---|
| committer | 2023-11-14 23:27:41 +0100 | |
| commit | 8631d6f80d0705debe0e8861b2633df1760a0c70 (patch) | |
| tree | b9e338735ab9c846a49c66c654fd5a0884ace89a /lib | |
| parent | 9eba8726ac08d75730a9ed5fd26047f502007dfd (diff) | |
Favicon: avoid echo exception (#5867)
Avoid potential Information Exposure
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/favicons.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/favicons.php b/lib/favicons.php index a74f3331f..b161215b2 100644 --- a/lib/favicons.php +++ b/lib/favicons.php @@ -19,7 +19,7 @@ function isImgMime(string $content): bool { $isImage = strpos($content, 'image') !== false; finfo_close($fInfo); } catch (Exception $e) { - echo 'Caught exception: ', $e->getMessage(), "\n"; + syslog(LOG_WARNING, 'FreshRSS favicon error: ' . $e->getMessage()); } return $isImage; } |
