diff options
Diffstat (limited to 'www/mediawiki115/files/patch-includes-OutputPage.php')
-rw-r--r-- | www/mediawiki115/files/patch-includes-OutputPage.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/www/mediawiki115/files/patch-includes-OutputPage.php b/www/mediawiki115/files/patch-includes-OutputPage.php deleted file mode 100644 index 1427f54e74c8..000000000000 --- a/www/mediawiki115/files/patch-includes-OutputPage.php +++ /dev/null @@ -1,12 +0,0 @@ ---- includes/OutputPage.php.orig 2011-01-06 10:46:14.000000000 +0800 -+++ includes/OutputPage.php 2011-01-06 10:47:53.000000000 +0800 -@@ -957,6 +957,9 @@ - $wgRequest->response()->header( "Content-type: $wgMimeType; charset={$wgOutputEncoding}" ); - $wgRequest->response()->header( 'Content-language: '.$wgContLanguageCode ); - -+ # To prevent clickjacking, do not allow this page to be inside a frame. -+ $wgRequest->response()->header( 'X-Frame-Options: DENY' ); -+ - if ($this->mArticleBodyOnly) { - $this->out($this->mBodytext); - } else { |