Review TYPO3_6-2 Merged

43120[SECURITY] Prevent information disclosure in tests bootstrap

Oliver Hader CR +2 V +2 Easy +16 −1 updated 09/08/15, 08:56

Commit message

Both, the UnitTestsBootstrap and FunctionalTestsBootstrap set
display_errors to 1 which shows errors and warnings by default. If you
call those scripts within web context the files can't be loaded and the
error message shows the website root path. The patch adds proper checks
before files are loaded and exits if an error occurs.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2