From: Andrew Dolgov Date: Fri, 22 Jan 2016 23:17:24 +0000 (+0300) Subject: update_rss_feed: escape dumped content while debugging X-Git-Tag: 16.3~47 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=0bc503ff9a74a0ca34bb21d78f4fd2aea02d3bd8;p=tt-rss.git update_rss_feed: escape dumped content while debugging --- diff --git a/include/rssfuncs.php b/include/rssfuncs.php index fcecbf67..95ac4076 100755 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -662,7 +662,7 @@ if ($_REQUEST["xdebug"] == 2) { print "content: "; - print $entry_content; + print htmlspecialchars($entry_content); print "\n"; } @@ -771,6 +771,12 @@ $entry_plugin_data .= mb_strtolower(get_class($plugin)) . ","; } + if ($_REQUEST["xdebug"] == 2) { + print "processed content: "; + print htmlspecialchars($article["content"]); + print "\n"; + } + $entry_plugin_data = db_escape_string($entry_plugin_data); _debug("plugin data: $entry_plugin_data", $debug_enabled);