We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3cdee69 + c39a8ec commit f3c4dbfCopy full SHA for f3c4dbf
src/SimplePie.php
@@ -1695,7 +1695,7 @@ private function clean_hash(string $rss): string
1695
[
1696
'#<(lastBuildDate|pubDate|updated|feedDate|dc:date|slash:comments)>[^<]+</\\1>#',
1697
'#<(media:starRating|media:statistics) [^/<>]+/>#',
1698
- '#<!--.+?-->#s',
+ '#<!--.{,8192}?(-->|(?=]]>))#s', // XML comments up to a max length and stops at apparent end of CDATA section
1699
],
1700
'',
1701
$stream_data
0 commit comments