1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 00:25:56 +00:00

when choosing enclosures to embed or rewrite (af_zz_imgproxy) only use content type instead of "filename"-based hacks

This commit is contained in:
Andrew Dolgov
2017-03-23 15:22:00 +03:00
parent 388d4dfa88
commit dc2c4b13d4
2 changed files with 2 additions and 3 deletions

View File

@@ -2000,8 +2000,7 @@
$rv .= $retval;
} else {
if (preg_match("/image/", $entry["type"]) ||
preg_match("/\.(jpe?g|png|gif|bmp)/i", $entry["filename"])) {
if (preg_match("/image/", $entry["type"])) {
if (!$hide_images) {
$encsize = '';