Skip to content

Commit

Permalink
Merge commit from fork
Browse files Browse the repository at this point in the history
  • Loading branch information
wachterjohannes committed Oct 2, 2024
1 parent 485d068 commit eeacd14
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function downloadAction(Request $request, $id, $slug)
}

if ($fileVersion->getName() !== $slug) {
return new Response('Invalid file name "' . $slug . '" for media with ID "' . $id . '".', 404);
return new Response('Invalid file name for media with ID "' . $id . '".', 404);
}

if ($this->securityChecker) {
Expand Down

0 comments on commit eeacd14

Please sign in to comment.