Match more URL fragments

Fixes https://github.com/owncloud/core/pull/11009#issuecomment-56103341
This commit is contained in:
Lukas Reschke 2014-09-18 23:18:07 +02:00
parent 112e570989
commit 7956765c12
1 changed files with 1 additions and 1 deletions

View File

@ -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' => '.+')),
)));