Loading src/EventSubscriber/ProxySubscriber.php +5 −0 Original line number Diff line number Diff line Loading @@ -85,6 +85,11 @@ class ProxySubscriber implements EventSubscriberInterface { return; } // Disallow directory traversal. if (in_array('..', explode('/', $request_path))) { return; } $alter_excluded_paths_event = new AlterExcludedPathsEvent([]); $this->eventDispatcher->dispatch('stage_file_proxy.alter_excluded_paths', $alter_excluded_paths_event); $excluded_paths = $alter_excluded_paths_event->getExcludedPaths(); Loading Loading
src/EventSubscriber/ProxySubscriber.php +5 −0 Original line number Diff line number Diff line Loading @@ -85,6 +85,11 @@ class ProxySubscriber implements EventSubscriberInterface { return; } // Disallow directory traversal. if (in_array('..', explode('/', $request_path))) { return; } $alter_excluded_paths_event = new AlterExcludedPathsEvent([]); $this->eventDispatcher->dispatch('stage_file_proxy.alter_excluded_paths', $alter_excluded_paths_event); $excluded_paths = $alter_excluded_paths_event->getExcludedPaths(); Loading