diff options
| author | 2016-08-29 09:45:51 +0200 | |
|---|---|---|
| committer | 2016-08-29 09:45:51 +0200 | |
| commit | 28bf7c80f553cae7c3dc53fa7e65c76089dc35b6 (patch) | |
| tree | 02a8c2b452962452cd5fa9bdfedd4bfa4adc5ab4 /p/api | |
| parent | 07d2015127e934c8e548687a61aa5e0522293758 (diff) | |
| parent | 1a53058ef0887df6dfb91ae269ef76ee5d3f9a31 (diff) | |
Merge pull request #1231 from Alkarex/pshb-nosniff
HTTP security: prevent reflection abuse
Diffstat (limited to 'p/api')
| -rw-r--r-- | p/api/pshb.php | 1 |
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); |
