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

Inject the session service into FileAccessControlHandler so it can use it for anonymous access checks

$
0
0

There is a @todo in the code that was added to Drupal 8 to fix https://www.drupal.org/SA-CORE-2017-003:

          // @todo - implement \Symfony\Component\DependencyInjection\ContainerInterface
          // so that services can be more properly injected.
          $allowed_temp_files = \Drupal::service('session')->get('allowed_temp_files', []);

This issue is for resolving that @todo.


Viewing all articles
Browse latest Browse all 301534

Trending Articles



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