simplepie icon indicating copy to clipboard operation
simplepie copied to clipboard

Image enclosure bug

Open onigetoc opened this issue 7 years ago • 3 comments

I tested image enclosure and i alway get error like this or url always containing ?# Sometime it's empty but show //?# or image url: http://www.website.com/img/image.jpg?#

if ($enclosure = $item->get_enclosure(0)){
      if ( $enclosure->get_link() && stristr($enclosure->get_type(), 'image/') ){
        echo $enclosure->get_link();
      }
}

onigetoc avatar Aug 23 '17 20:08 onigetoc

PHP 7.x ?? Probably caused by the buggy SimplePie_IRI class, see #443 and #520 (no fix available atm)

JanPetterMG avatar Aug 24 '17 14:08 JanPetterMG

Yes php 7

onigetoc avatar Aug 24 '17 14:08 onigetoc

@onigetoc Does the problem still occur in version 1.8.0? If yes, could you please provide more data to reproduce this issue?

Art4 avatar Jan 24 '23 10:01 Art4