mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:56:34 +00:00
image cache: do not try to cache data: schema urls; add caching of html5 video content (similar to cache_starred_images plugin)
This commit is contained in:
@@ -180,7 +180,8 @@ class Cache_Starred_Images extends Plugin implements IHandler {
|
||||
|
||||
foreach ($entries as $entry) {
|
||||
|
||||
if ($entry->hasAttribute('src')) {
|
||||
if ($entry->hasAttribute('src') && strpos($entry->getAttribute('src'), "data:") !== 0) {
|
||||
|
||||
$has_images = true;
|
||||
$src = rewrite_relative_url($site_url, $entry->getAttribute('src'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user