summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-04-19 12:35:30 +0400
committerAndrew Dolgov <[email protected]>2013-04-19 12:35:30 +0400
commit1367bc3f5e0f99f5b900bcd3ea9e7512b7c84388 (patch)
tree40a623cd6484fde8cc97926469c984470eff9414 /include
parent92c9a20cf51c55e9d866427786bc28b2d6ab48fd (diff)
trim received feed data on fetch
Diffstat (limited to 'include')
-rw-r--r--include/rssfuncs.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index 8ffcbde8a..31d35bf8e 100644
--- a/include/rssfuncs.php
+++ b/include/rssfuncs.php
@@ -310,6 +310,8 @@
if ($tmp) $feed_data = $tmp;
}
+ $feed_data = trim($feed_data);
+
if ($debug_enabled) {
_debug("update_rss_feed: fetch done.");
}