Merge pull request #11171 from owncloud/fix-route

Match more URL fragments
remotes/origin/fix-10825
Lukas Reschke 12 years ago
commit e94ec409ae
  1. 2
      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' => '.+')),
)));

Loading…
Cancel
Save