Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 295845

PharExtensionInterceptor is incompatible with GeoIP

$
0
0

Child issue of https://www.drupal.org/project/drupal/issues/3026443

\Drupal\Core\Security\PharExtensionInterceptor is incompatible with GeoIP and other libraries that use phar aliases or Phar::mapPhar()

The latest Drupal Security Update broke module geoip, as the geoip reader geoip2.phar is using Phar::mapPhar() and loading those mapped files is prevented by PharExtensionInterceptor.

That results in wsod on pages, where geoip is in use.

Error message:
PHP Fatal error: main(): Failed opening required 'phar://geoip2.phar/vendor/autoload.php' ...

While work is in progress upstream, this issue exists for discussing solutions, if the PharExtensionInterceptor isn't ready for the next Drupal bugfix release.


Viewing all articles
Browse latest Browse all 295845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>