summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2014-09-19 16:04:29 +0200
committerLukas Reschke <lukas@owncloud.com>2014-09-19 16:04:29 +0200
commite94ec409aea074add6b1402b899ad549c1d3db7f (patch)
tree1cff72ba1f960e0fa7dd82ee07eff0fdd1d661a8 /apps
parent4c6bad7f71f650cddd11ca4c55184c50cdec4e91 (diff)
parent7956765c121a0d374d898294451f9fdd23d038d5 (diff)
downloadnextcloud-server-e94ec409aea074add6b1402b899ad549c1d3db7f.tar.gz
nextcloud-server-e94ec409aea074add6b1402b899ad549c1d3db7f.zip
Merge pull request #11171 from owncloud/fix-route
Match more URL fragments
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' => '.+')),
)));