aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/appinfo/routes.php')
-rw-r--r--apps/files/appinfo/routes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/appinfo/routes.php b/apps/files/appinfo/routes.php
index a99b5de3af9..96790a04855 100644
--- a/apps/files/appinfo/routes.php
+++ b/apps/files/appinfo/routes.php
@@ -10,7 +10,7 @@ namespace OCA\Files\Appinfo;
$application = new Application();
$application->registerRoutes($this, array('routes' => array(
- array('name' => 'API#getThumbnail', 'url' => '/api/v1/thumbnail/{x}/{y}/{file}', 'verb' => 'GET'),
+ array('name' => 'API#getThumbnail', 'url' => '/api/v1/thumbnail/{x}/{y}/{file}', 'verb' => 'GET', 'requirements' => array('file' => '.+')),
)));