summaryrefslogtreecommitdiff
path: root/include/rssfuncs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2016-01-23 02:17:24 +0300
committerAndrew Dolgov <[email protected]>2016-01-23 02:17:24 +0300
commit0bc503ff9a74a0ca34bb21d78f4fd2aea02d3bd8 (patch)
treea277bdc817d9e6324bc78ebc5d33c7c25dcd25df /include/rssfuncs.php
parent3b44aae0f32dce159caea9498e4824a24a7ba4ac (diff)
update_rss_feed: escape dumped content while debugging
Diffstat (limited to 'include/rssfuncs.php')
-rwxr-xr-xinclude/rssfuncs.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php
index fcecbf670..95ac4076f 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);