diff --git a/src/bundle/Core/Resources/config/routing/internal.yml b/src/bundle/Core/Resources/config/routing/internal.yml index f60c99d392..54823daa02 100644 --- a/src/bundle/Core/Resources/config/routing/internal.yml +++ b/src/bundle/Core/Resources/config/routing/internal.yml @@ -38,3 +38,6 @@ ibexa.content.download: ibexa.content.download.field_id: path: /content/download/{contentId}/{fieldId} defaults: { _controller: Ibexa\Core\MVC\Symfony\Controller\Content\DownloadRedirectionController:redirectToContentDownloadAction } + requirements: + contentId: '\d+' + fieldId: '\d+'