aboutsummaryrefslogtreecommitdiff
path: root/p/api/pshb.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-29 19:47:14 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-29 19:47:14 +0200
commitaea7cd78367ef867cdac7082ac1e9f61c4de7e19 (patch)
tree3dd3da3e8f21b5e82905f756098b86e0d15b3935 /p/api/pshb.php
parentd552703f67da5568a5e826bc453f572e03d081cd (diff)
parent28bf7c80f553cae7c3dc53fa7e65c76089dc35b6 (diff)
Merge branch 'dev' of https://github.com/FreshRSS/FreshRSS into FreshRSS/dev
Diffstat (limited to 'p/api/pshb.php')
-rw-r--r--p/api/pshb.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/p/api/pshb.php b/p/api/pshb.php
index 136b98fc9..650767114 100644
--- a/p/api/pshb.php
+++ b/p/api/pshb.php
@@ -5,6 +5,7 @@ require(LIB_PATH . '/lib_rss.php'); //Includes class autoloader
define('MAX_PAYLOAD', 3145728);
header('Content-Type: text/plain; charset=UTF-8');
+header('X-Content-Type-Options: nosniff');
function logMe($text) {
file_put_contents(USERS_PATH . '/_/log_pshb.txt', date('c') . "\t" . $text . "\n", FILE_APPEND);