aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-09-18 23:18:07 +0200
committerLukas Reschke <lukas@owncloud.com>2014-09-18 23:18:07 +0200
commit7956765c121a0d374d898294451f9fdd23d038d5 (patch)
treef0cd8d85ce63484bf31f7cf2bcdea755f8cc9fac /apps
parent112e57098981726cd20da0cc6f6088a334e54a04 (diff)
downloadnextcloud-server-7956765c121a0d374d898294451f9fdd23d038d5.tar.gz
nextcloud-server-7956765c121a0d374d898294451f9fdd23d038d5.zip
Match more URL fragments
Fixes https://github.com/owncloud/core/pull/11009#issuecomment-56103341
Diffstat (limited to 'apps')
-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' => '.+')),
)));