Merge pull request #11171 from owncloud/fix-route

Match more URL fragments
This commit is contained in:
Lukas Reschke 2014-09-19 16:04:29 +02:00
commit e94ec409ae
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' => '.+')),
)));