Skip to content

Commit

Permalink
trim received feed data on fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Dolgov committed Apr 19, 2013
1 parent 92c9a20 commit 1367bc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/rssfuncs.php
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,8 @@ function update_rss_feed($feed, $ignore_daemon = false, $no_cache = false,
if ($tmp) $feed_data = $tmp;
}

$feed_data = trim($feed_data);

if ($debug_enabled) {
_debug("update_rss_feed: fetch done.");
}
Expand Down

0 comments on commit 1367bc3

Please sign in to comment.