summaryrefslogtreecommitdiffstats
path: root/settings/routes.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-09-13 10:04:45 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-11-15 10:03:32 +0100
commit1997346369c64a57bf555a58be8611458ee6a7a0 (patch)
tree3fecca94dedcce33dce5f93342ef3ee9307ac87e /settings/routes.php
parent10c9b37461a1d4cf3fae12038d3125555a3d8b6e (diff)
downloadnextcloud-server-1997346369c64a57bf555a58be8611458ee6a7a0.tar.gz
nextcloud-server-1997346369c64a57bf555a58be8611458ee6a7a0.zip
Fix interaction with groups that contain a slash
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'settings/routes.php')
-rw-r--r--settings/routes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/routes.php b/settings/routes.php
index bfb31b8d382..7c8120f9be4 100644
--- a/settings/routes.php
+++ b/settings/routes.php
@@ -65,7 +65,7 @@ $application->registerRoutes($this, [
['name' => 'Users#setUserSettings', 'url' => '/settings/users/{username}/settings', 'verb' => 'PUT'],
['name' => 'Users#getVerificationCode', 'url' => '/settings/users/{account}/verify', 'verb' => 'GET'],
['name' => 'Users#usersList', 'url' => '/settings/users', 'verb' => 'GET'],
- ['name' => 'Users#usersListByGroup', 'url' => '/settings/users/{group}', 'verb' => 'GET'],
+ ['name' => 'Users#usersListByGroup', 'url' => '/settings/users/{group}', 'verb' => 'GET', 'requirements' => ['group' => '.+']],
['name' => 'LogSettings#setLogLevel', 'url' => '/settings/admin/log/level', 'verb' => 'POST'],
['name' => 'LogSettings#getEntries', 'url' => '/settings/admin/log/entries', 'verb' => 'GET'],
['name' => 'LogSettings#download', 'url' => '/settings/admin/log/download', 'verb' => 'GET'],