Review TYPO3_7-6 Merged

57596[BUGFIX] Avoid PHP warning when using Phar archive with open_basedir

Christian Kuhn CR +2 V +2 Easy +1 −1 updated 07/13/18, 20:20

Commit message

Including files from Phar archives (e.g. "phar://file.phar/autoload.php")
does not work properly with having PHP setting open_basedir defined. The
reason for that is, that TYPO3's custom PharStreamWrapper tries to find
the appropriate base Phar file using file_exists() calls internally. In
case those files are not part of the open_basedir restriction - which is
the case for everything prefixed with the "phar://" scheme - a PHP
warning is shown.

Review

  • Code review CR +2
    • Christian Kuhn +2
  • Verified V +2
    • Christian Kuhn +2
    • TYPO3com +1 CI

Issues 1

Files 1

Review log 34

  1. Christian Kuhn commented on patch set 1 07/13/18, 20:10

    Cherry Picked from branch TYPO3_8-7.
  2. TYPO3com voted on patch set 1 V +1 07/13/18, 20:20 Completed build in 09m 58s on Fri, 13 Jul, 10:20 PM Test Summary: 49442 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC76-1516

  3. Christian Kuhn voted on patch set 1 V +2 CR +2 07/13/18, 20:20

  4. Christian Kuhn merged patch set 2 07/13/18, 20:20