From a7c7f6a6a80f99dfd6443d5bd905987361812318 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Fri, 5 Jun 2009 14:51:17 +0000 Subject: [PATCH] Here we go! New data format for the file ACM module: - No longer PHP files that are included - Contain a simple PHP header to stop people attempting to read them - Read using file system functions only reading as much data as required Result is: - Better performance by minimising file system reads - Injected HTML from nasty scripts no longer contaminates the board - Opcode caches are no longer thrashed and fragmented by the many files we generate git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9543 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/docs/CHANGELOG.html | 1 + phpBB/includes/acm/acm_file.php | 423 +++++++++++++++++++++++--------- 2 files changed, 310 insertions(+), 114 deletions(-) diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index 6df3240e01..1991f77b45 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -91,6 +91,7 @@
  • [Fix] Allow whitespaces in avatar gallery names. (Bug #44955)
  • [Fix] Sorting by author or subject on viewtopic now preserves the order. (Bug #44875)
  • [Fix] Correctly determine writable status of files on Windows operating system. (Bug #39035)
  • +
  • [Change] Change the data format of the default file ACM to be more secure from tampering and have better performance.
  • [Feature] Backported 3.2 captcha plugins.
  • [Feature] Introduced new ACM plugins: