Commit 572f4e5d authored by Ludwig Ruderstaller's avatar Ludwig Ruderstaller

deny access to /

parent c6a5a8b0
Pipeline #18625 canceled with stage
in 33 seconds
......@@ -36,6 +36,11 @@ class MediaController extends AbstractController
return new Response("Not Found", Response::HTTP_NOT_FOUND);
public function notAllowed()
return new Response("Each request needs to be signed!", Response::HTTP_PRECONDITION_REQUIRED);
public function index($uri = null, Request $request)
$url = parse_url($request->getRequestUri(), PHP_URL_PATH);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment