diff --git a/src/EventSubscriber/StageFileProxySubscriber.php b/src/EventSubscriber/StageFileProxySubscriber.php index 7b81f08a56a15c8eba00ae2aa8c405ff07d452b8..c4ad68993bac5018c7a1f6eb3a2abaef12c753d7 100644 --- a/src/EventSubscriber/StageFileProxySubscriber.php +++ b/src/EventSubscriber/StageFileProxySubscriber.php @@ -76,11 +76,6 @@ class StageFileProxySubscriber implements EventSubscriberInterface { return; } - // Disallow directory traversal. - if (in_array('..', explode('/', $request_path))) { - return; - } - // Moving to parent directory is insane here, so prevent that. if (in_array('..', explode('/', $request_path))) { return;